diff --git a/.github/workflows/studio-frontend-build.yml b/.github/workflows/studio-frontend-build.yml index 3c39ede..c795d77 100644 --- a/.github/workflows/studio-frontend-build.yml +++ b/.github/workflows/studio-frontend-build.yml @@ -1,17 +1,24 @@ -name: "Studio Frontend Build" - +name: "Studio Frontend Build Packaged" + on: push: paths: - - "assets/studio/**" + - "assets/**" + - "build-dist/**" pull_request: paths: - - "assets/studio/**" + - "assets/**" workflow_dispatch: - + +concurrency: + group: studio-frontend-build-packaged-${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + permissions: contents: write - + jobs: studio-frontend-build: - uses: pimcore/workflows-collection-public/.github/workflows/reusable-studio-frontend-build.yaml@main + uses: pimcore/workflows-collection-public/.github/workflows/reusable-studio-frontend-build-packaged.yaml@main + with: + working-directory: assets diff --git a/.gitignore b/.gitignore index c8e2780..117597b 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,8 @@ nbproject /.env /.htaccess /auth.json -/config.json \ No newline at end of file +/config.json + +# Expanded frontend build is generated from build-dist/build-.zip, not committed +/public/build/* +!/public/build/.gitkeep diff --git a/README.md b/README.md index 5bb60ed..d7ae29d 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,28 @@ This bundle provides the basic structure of a Pimcore Studio example extension b The Pimcore Studio Example Bundle was created to help developers quickly get started with creating custom extensions for Pimcore Studio. It includes a set of examples for extending the UI and integrating new features. For further information, visit the [Pimcore Studio UI Plugin Development Examples documentation](https://github.com/pimcore/studio-ui-bundle/blob/2026.x/doc/04_Extending/02_Plugin_Development_Examples/README.md). + +## Frontend build + +The compiled frontend is shipped as a single committed archive, `build-dist/build-.zip`, +instead of a committed `public/build/` directory. On the target installation the Studio UI +Bundle extracts it into `public/build/` during `bin/console cache:warmup`, so a deployment +needs no Node.js and no per-bundle build step. See +[Shipping the Frontend Build as an Archive](https://github.com/pimcore/studio-ui-bundle/blob/2026.x/doc/04_Extending/04_Shipping_the_Frontend_Build_as_an_Archive.md) +for the full mechanism. + +To rebuild it after changing anything under `assets/`: + +```bash +cd assets +npm ci +npm run build && npm run package-build +``` + +The build id is derived from the contents of `assets/`, so an unchanged source produces the +same archive and nothing to commit. `public/build/` is gitignored — a build you produced +locally is never overwritten by the extractor; delete the directory and warm the cache to go +back to the committed archive. + +CI runs both scripts on every push touching `assets/` and commits `build-dist/` back to the +branch, so committing the archive by hand is optional. diff --git a/assets/package-lock.json b/assets/package-lock.json index d318cba..50a17f5 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -9,11 +9,10 @@ "version": "0.0.1", "license": "PEL", "dependencies": { - "@pimcore/studio-ui-bundle": "2026.2.0", + "@pimcore/studio-ui-bundle": "^2026.2.11", "nodemon": "^3.1.10", "react": "18.3.x", - "react-dom": "18.3.x", - "uuid": "^10.0.0" + "react-dom": "18.3.x" }, "devDependencies": { "@babel/preset-react": "^7.23.3", @@ -4085,9 +4084,9 @@ } }, "node_modules/@pimcore/studio-ui-bundle": { - "version": "2026.2.0", - "resolved": "https://registry.npmjs.org/@pimcore/studio-ui-bundle/-/studio-ui-bundle-2026.2.0.tgz", - "integrity": "sha512-OKqX981ugRZNTTV4LcU+o8i2KyOzUy/x7yVxz0tr+GB7VSnuG0nDWGuZOwFROttYnICUwO3STxjOdUzzH06LwA==", + "version": "2026.2.11", + "resolved": "https://registry.npmjs.org/@pimcore/studio-ui-bundle/-/studio-ui-bundle-2026.2.11.tgz", + "integrity": "sha512-N/H6wA4Fv31SL7rP1a9rFkTsSTNTkOb9d09CF3GakkHnNi1Me83rnJKkDTKmb3aVb+LBQxHVNbU7uGi4Vt3pDQ==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@ant-design/charts": "^2.4.0", @@ -4115,6 +4114,7 @@ "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@uiw/react-codemirror": "^4.23.6", + "adm-zip": "^0.5.16", "antd": "5.22.x", "antd-style": "3.7.x", "classnames": "^2.5.1", @@ -4139,6 +4139,9 @@ "reflect-metadata": "0.2.x", "ts-patch": "^3.3.0", "uuid": "^10.0.0" + }, + "bin": { + "studio-package-build": "bundler/package-build.cjs" } }, "node_modules/@pimcore/studio-ui-bundle/node_modules/@module-federation/bridge-react-webpack-plugin": { @@ -7310,9 +7313,9 @@ } }, "node_modules/adm-zip": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.16.tgz", - "integrity": "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ==", + "version": "0.5.18", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.18.tgz", + "integrity": "sha512-ufJnssQGbxzLNS1Ho9bCtX4rQKCCvoVuDLHoJyc3F9dOGDB4BkWs2Ci0kv53lqocAEQ/Cbi+I2XCsNYGqVYqng==", "dev": true, "license": "MIT", "engines": { @@ -8024,7 +8027,6 @@ "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "peer": true, "engines": { "node": "*" } @@ -9723,7 +9725,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "peer": true, "engines": { "node": ">= 4" } @@ -14635,7 +14636,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", - "peer": true, "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", diff --git a/assets/package.json b/assets/package.json index 120e6ee..2bd7e12 100644 --- a/assets/package.json +++ b/assets/package.json @@ -5,6 +5,7 @@ "dev": "NODE_ENV=development rsbuild build", "dev-server": "NODE_ENV=dev-server rsbuild dev", "build": "rsbuild build", + "package-build": "studio-package-build --build-dir ../public/build --out-dir ../build-dist", "lint": "eslint --ext .js,.jsx,.ts,.tsx ./js", "lint-fix": "eslint --ext .js,.jsx,.ts,.tsx ./js --fix", "lint-fix-watch": "nodemon --watch './js/**/*' --exec \"eslint --ext .js,.jsx,.ts,.tsx ./js --fix --cache\" -e js,jsx,ts,tsx", @@ -56,11 +57,10 @@ "whatwg-fetch": "^3.6.20" }, "dependencies": { - "@pimcore/studio-ui-bundle": "2026.2.0", + "@pimcore/studio-ui-bundle": "^2026.2.11", "nodemon": "^3.1.10", "react": "18.3.x", - "react-dom": "18.3.x", - "uuid": "^10.0.0" + "react-dom": "18.3.x" }, "overrides": { "axios": "1.12.0" diff --git a/assets/rsbuild.config.ts b/assets/rsbuild.config.ts index 31fbcdc..545632a 100644 --- a/assets/rsbuild.config.ts +++ b/assets/rsbuild.config.ts @@ -1,20 +1,30 @@ import { defineConfig } from '@rsbuild/core' import { pluginReact } from '@rsbuild/plugin-react' import { pluginModuleFederation } from '@module-federation/rsbuild-plugin'; -import { pluginGenerateEntrypoints } from '@pimcore/studio-ui-bundle/rsbuild/plugins'; +import { pluginGenerateEntrypoints, pluginWriteBuildId } from '@pimcore/studio-ui-bundle/rsbuild/plugins'; import { createDynamicRemote } from '@pimcore/studio-ui-bundle/rsbuild/utils'; +import { getBuildGroupId } from '@pimcore/studio-ui-bundle/bundler/build-id'; import path from 'path' import fs from 'fs'; -import { v4 } from 'uuid'; import packages from './package.json' -const buildId = v4(); -const buildPath = path.resolve(__dirname, '..', 'public', 'build', buildId); +// Content-derived id for this assets tree (node_modules and dist excluded), so an unchanged +// source yields the same id - and therefore the same build-dist/build-.zip - instead of a +// fresh archive on every build. The build output lives outside this directory, otherwise each +// build would change the id. +const buildId = getBuildGroupId(__dirname); +const buildRoot = path.resolve(__dirname, '..', 'public', 'build'); +const buildPath = path.resolve(buildRoot, buildId); -if (fs.existsSync( path.resolve(__dirname, '..', 'public', 'build'))) { - fs.readdirSync(path.resolve(__dirname, '..', 'public', 'build')).forEach((file) => { - if (file !== 'studio-npm-package.tgz') { - fs.rmSync(path.resolve(__dirname, '..', 'public', 'build', file), { recursive: true }); +// Drop stale build dirs: studio-package-build picks the build id deterministically from the +// .build-id files it finds on disk, not "the newest", so a leftover dir from an earlier source +// state could otherwise end up in the archive instead of this build. +// Only directories are swept: plain files at this level must survive, in particular the +// tracked .gitkeep that keeps public/build/ in git once the expanded build is gitignored. +if (fs.existsSync(buildRoot)) { + fs.readdirSync(buildRoot, { withFileTypes: true }).forEach((entry) => { + if (entry.isDirectory() && entry.name !== buildId) { + fs.rmSync(path.resolve(buildRoot, entry.name), { recursive: true, force: true }); } }) } @@ -65,6 +75,7 @@ export default defineConfig({ }, }, plugins: [ + pluginWriteBuildId({ buildId }), pluginGenerateEntrypoints(), pluginReact(), pluginModuleFederation({ diff --git a/build-dist/build-fc755267691a.zip b/build-dist/build-fc755267691a.zip new file mode 100644 index 0000000..fc5537b Binary files /dev/null and b/build-dist/build-fc755267691a.zip differ diff --git a/composer.json b/composer.json index 1dfe252..2678a4f 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "prefer-stable": true, "minimum-stability": "dev", "require": { - "pimcore/studio-ui-bundle": "^2025.4 || ^2026.1", + "pimcore/studio-ui-bundle": "^2025.4.9 || ^2026.2.1", "pimcore/studio-backend-bundle": "^2025.4 || ^2026.1", "pimcore/studio-dashboards-bundle": "^2025.4 || ^2026.1" }, diff --git a/public/build/.gitkeep b/public/build/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/build/entrypoints.json b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/build/entrypoints.json deleted file mode 100644 index f2586d2..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/build/entrypoints.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "entrypoints": { - "main": { - "js": [ - "http://localhost:3030/build/main.js" - ] - } - } -} \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/build/manifest.json b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/build/manifest.json deleted file mode 100644 index e57ccf0..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/build/manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "build/main.js": "http://localhost:3030/build/main.js" -} \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/entrypoints.json b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/entrypoints.json deleted file mode 100644 index f362815..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/entrypoints.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "entrypoints": { - "pimcore_studio_example_bundle": { - "js": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/__federation_expose_default_export.94801d11.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js" - ], - "css": [] - }, - "main": { - "js": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/main.06485e1c.js" - ], - "css": [] - }, - "exposeRemote": { - "js": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/exposeRemote.js" - ], - "css": [] - } - } -} \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/exposeRemote.js b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/exposeRemote.js deleted file mode 100644 index 951c27c..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/exposeRemote.js +++ /dev/null @@ -1,13 +0,0 @@ - - if (window.pluginRemotes === undefined) { - window.pluginRemotes = {} - } - - if (window.alternativePluginExportPaths === undefined) { - window.alternativePluginExportPaths = {} - } - - window.pluginRemotes.pimcore_studio_example_bundle = "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js" - - - \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/main.html b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/main.html deleted file mode 100644 index 292572a..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/main.html +++ /dev/null @@ -1 +0,0 @@ -Rsbuild App
\ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/manifest.json b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/manifest.json deleted file mode 100644 index 9942fae..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/manifest.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "allFiles": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/__federation_expose_default_export.94801d11.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/main.06485e1c.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-stats.json", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-manifest.json", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/main.html" - ], - "entries": { - "pimcore_studio_example_bundle": { - "initial": { - "js": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js" - ] - }, - "async": { - "js": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/__federation_expose_default_export.94801d11.js" - ] - } - }, - "main": { - "html": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/main.html" - ], - "initial": { - "js": [ - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js", - "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/main.06485e1c.js" - ] - } - } - } -} \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-manifest.json b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-manifest.json deleted file mode 100644 index c253daf..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-manifest.json +++ /dev/null @@ -1,181 +0,0 @@ -{ - "id": "pimcore_studio_example_bundle", - "name": "pimcore_studio_example_bundle", - "metaData": { - "name": "pimcore_studio_example_bundle", - "type": "app", - "buildInfo": { - "buildVersion": "0.0.1", - "buildName": "pimcore-studio-ui-demo-bundle" - }, - "remoteEntry": { - "name": "static/js/remoteEntry.js", - "path": "", - "type": "global" - }, - "types": { - "path": "", - "name": "", - "zip": "", - "api": "" - }, - "globalName": "pimcore_studio_example_bundle", - "pluginVersion": "0.13.1", - "prefetchInterface": false, - "publicPath": "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/" - }, - "shared": [ - { - "id": "pimcore_studio_example_bundle:react", - "name": "react", - "version": "*", - "singleton": true, - "requiredVersion": "^*", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/779.5e0d9af7.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - }, - { - "id": "pimcore_studio_example_bundle:react-dom", - "name": "react-dom", - "version": "*", - "singleton": true, - "requiredVersion": "^*", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/779.5e0d9af7.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - } - } - ], - "remotes": [ - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/document", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": ".", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "app", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "components", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/app", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/asset", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/widget-editor", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/element", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/gdpr-data-extractor", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "utils", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/field-definitions", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/widget-manager", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "api/asset", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "api/user", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - }, - { - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/data-object", - "alias": "@pimcore/studio-ui-bundle", - "entry": "*" - } - ], - "exposes": [ - { - "id": "pimcore_studio_example_bundle:.", - "name": ".", - "assets": { - "js": { - "sync": [ - "static/js/async/798.5da9846f.js", - "static/js/async/__federation_expose_default_export.94801d11.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - }, - "path": "." - } - ] -} \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-stats.json b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-stats.json deleted file mode 100644 index 5e426b5..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/mf-stats.json +++ /dev/null @@ -1,253 +0,0 @@ -{ - "id": "pimcore_studio_example_bundle", - "name": "pimcore_studio_example_bundle", - "metaData": { - "name": "pimcore_studio_example_bundle", - "type": "app", - "buildInfo": { - "buildVersion": "0.0.1", - "buildName": "pimcore-studio-ui-demo-bundle" - }, - "remoteEntry": { - "name": "static/js/remoteEntry.js", - "path": "", - "type": "global" - }, - "types": { - "path": "", - "name": "", - "zip": "", - "api": "" - }, - "globalName": "pimcore_studio_example_bundle", - "pluginVersion": "0.13.1", - "prefetchInterface": false, - "publicPath": "/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/" - }, - "shared": [ - { - "singleton": true, - "requiredVersion": "^*", - "shareScope": "default", - "eager": true, - "name": "react", - "version": "*", - "id": "pimcore_studio_example_bundle:react", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/779.5e0d9af7.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [ - "." - ] - }, - { - "singleton": true, - "requiredVersion": "^*", - "shareScope": "default", - "eager": true, - "name": "react-dom", - "version": "*", - "id": "pimcore_studio_example_bundle:react-dom", - "assets": { - "js": { - "async": [], - "sync": [ - "static/js/779.5e0d9af7.js", - "static/js/remoteEntry.js" - ] - }, - "css": { - "async": [], - "sync": [] - } - }, - "usedIn": [] - } - ], - "remotes": [ - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/document", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": ".", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "app", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "components", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/app", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/asset", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/widget-editor", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/element", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/gdpr-data-extractor", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "utils", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/field-definitions", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/widget-manager", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "api/asset", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "api/user", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - }, - { - "alias": "@pimcore/studio-ui-bundle", - "consumingFederationContainerName": "pimcore_studio_example_bundle", - "federationContainerName": "promise new Promise((resolve) => {\n const emptyContainer = {\n get: () => Promise.resolve(() => ({})),\n init: () => {}\n }\n\n const remoteUrl = window.StudioUIBundleRemoteUrl\n\n if (!remoteUrl) {\n throw new Error('Required remote \"pimcore_studio_ui_bundle\" is not available');\n return\n }\n\n // Check if the container is already available\n if (window['pimcore_studio_ui_bundle']) {\n resolve({\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n })\n return\n }\n\n const script = document.createElement('script')\n script.src = remoteUrl\n script.onload = () => {\n const proxy = {\n get: (request) => window['pimcore_studio_ui_bundle'].get(request),\n init: (...arg) => {\n try {\n return window['pimcore_studio_ui_bundle'].init(...arg)\n } catch(e) {\n console.log('remote container already initialized')\n }\n }\n }\n resolve(proxy)\n }\n script.onerror = () => {\n throw new Error('Failed to load required remote \"pimcore_studio_ui_bundle\" from ' + remoteUrl);\n }\n document.head.appendChild(script);\n })\n ", - "moduleName": "modules/data-object", - "usedIn": [ - "js/src/plugins.ts + 84 modules" - ], - "version": "*" - } - ], - "exposes": [ - { - "path": ".", - "id": "pimcore_studio_example_bundle:.", - "name": ".", - "requires": [ - "react" - ], - "file": "js/src/plugins.ts", - "assets": { - "js": { - "sync": [ - "static/js/async/798.5da9846f.js", - "static/js/async/__federation_expose_default_export.94801d11.js" - ], - "async": [] - }, - "css": { - "sync": [], - "async": [] - } - } - } - ] -} \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js deleted file mode 100644 index 4d600ea..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! For license information please see 779.5e0d9af7.js.LICENSE.txt */ -"use strict";(self.webpackChunkpimcore_studio_example_bundle=self.webpackChunkpimcore_studio_example_bundle||[]).push([["779"],{4448:function(e,t,n){var r,a,o,l,i,u,s=n(5136),c=n(3840);function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function k(e,t,n,r,a,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){x[e]=new k(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];x[t]=new k(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){x[e]=new k(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){x[e]=new k(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){x[e]=new k(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){x[e]=new k(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){x[e]=new k(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){x[e]=new k(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){x[e]=new k(e,5,!1,e.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function R(e){return e[1].toUpperCase()}function T(e,t,n,r){var a=x.hasOwnProperty(t)?x[t]:null;(null!==a?0!==a.type:r||!(2--i||a[l]!==o[i]){var u="\n"+a[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=i);break}}}finally{q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Q(e):""}function Y(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return e=K(e.type,!1);case 11:return e=K(e.type.render,!1);case 1:return e=K(e.type,!0);default:return""}}function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case O:return"Fragment";case C:return"Portal";case $:return"Profiler";case M:return"StrictMode";case F:return"Suspense";case z:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case L:return(e._context.displayName||"Context")+".Provider";case D:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case H:return null!==(t=e.displayName||null)?t:X(e.type)||"Memo";case j:t=e._payload,e=e._init;try{return X(e(t))}catch(e){}}return null}function J(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=(e=t.render).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 X(t);case 8:return t===M?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ee(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function et(e){var t=ee(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function en(e){e._valueTracker||(e._valueTracker=et(e))}function er(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ee(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ea(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function eo(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function el(e,t){var n=null==t.defaultValue?"":t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:n=Z(null!=t.value?t.value:n),controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ei(e,t){null!=(t=t.checked)&&T(e,"checked",t,!1)}function eu(e,t){ei(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ec(e,t.type,n):t.hasOwnProperty("defaultValue")&&ec(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function es(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&(void 0===t.value||null===t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ec(e,t,n){("number"!==t||ea(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ef=Array.isArray;function ed(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=eb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function e_(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var eE={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},ew=["Webkit","ms","Moz","O"];function ek(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||eE.hasOwnProperty(e)&&eE[e]?(""+t).trim():t+"px"}function ex(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ek(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(eE).forEach(function(e){ew.forEach(function(t){eE[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eE[e]})});var eN=G({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 eR(e,t){if(t){if(eN[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(f(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(f(62))}}function eT(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eI=null;function eP(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eC=null,eO=null,eM=null;function e$(e){if(e=r3(e)){if("function"!=typeof eC)throw Error(f(280));var t=e.stateNode;t&&(t=r8(t),eC(e.stateNode,e.type,t))}}function eL(e){eO?eM?eM.push(e):eM=[e]:eO=e}function eA(){if(eO){var e=eO,t=eM;if(eM=eO=null,e$(e),t)for(e=0;e>>=0)?32:31-(ts(e)/tc|0)|0}var td=64,tp=4194304;function th(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 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function tm(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,l=0xfffffff&n;if(0!==l){var i=l&~a;0!==i?r=th(i):0!=(o&=l)&&(r=th(o))}else 0!=(l=n&~a)?r=th(l):0!==o&&(r=th(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function t_(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tu(t)]=n}function tE(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0=nR),nP=" ",nC=!1;function nO(e,t){switch(e){case"keyup":return -1!==nx.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nM(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var n$=!1;function nL(e,t){switch(e){case"compositionend":return nM(t);case"keypress":if(32!==t.which)return null;return nC=!0,nP;case"textInput":return(e=t.data)===nP&&nC?null:e;default:return null}}function nA(e,t){if(n$)return"compositionend"===e||!nN&&nO(e,t)?(e=t5(),t8=t4=t3=null,n$=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=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=n3(r)}}function n8(e,t){return!!e&&!!t&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?n8(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function n5(){for(var e=window,t=ea();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=ea(e.document)}return t}function n6(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function n9(e){var t=n5(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&n8(n.ownerDocument.documentElement,n)){if(null!==r&&n6(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=n4(n,o);var l=n4(n,r);a&&l&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,re=null,rt=null,rn=null,rr=!1;function ra(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;rr||null==re||re!==ea(r)||(r="selectionStart"in(r=re)&&n6(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},rn&&n2(rn,r)||(rn=r,0<(r=rP(rt,"onSelect")).length&&(t=new no("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=re)))}function ro(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var rl={animationend:ro("Animation","AnimationEnd"),animationiteration:ro("Animation","AnimationIteration"),animationstart:ro("Animation","AnimationStart"),transitionend:ro("Transition","TransitionEnd")},ri={},ru={};function rs(e){if(ri[e])return ri[e];if(!rl[e])return e;var t,n=rl[e];for(t in n)if(n.hasOwnProperty(t)&&t in ru)return ri[e]=n[t];return e}g&&(ru=document.createElement("div").style,"AnimationEvent"in window||(delete rl.animationend.animation,delete rl.animationiteration.animation,delete rl.animationstart.animation),"TransitionEvent"in window||delete rl.transitionend.transition);var rc=rs("animationend"),rf=rs("animationiteration"),rd=rs("animationstart"),rp=rs("transitionend"),rh=new Map,rm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rg(e,t){rh.set(e,t),h(t,[e])}for(var ry=0;ryr6||(e.current=r5[r6],r5[r6]=null,r6--)}function ae(e,t){r5[++r6]=e.current,e.current=t}var at={},an=r9(at),ar=r9(!1),aa=at;function ao(e,t){var n=e.type.contextTypes;if(!n)return at;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function al(e){return null!=(e=e.childContextTypes)}function ai(){r7(ar),r7(an)}function au(e,t,n){if(an.current!==at)throw Error(f(168));ae(an,t),ae(ar,n)}function as(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(f(108,J(e)||"Unknown",a));return G({},n,r)}function ac(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||at,aa=an.current,ae(an,e),ae(ar,ar.current),!0}function af(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(r.__reactInternalMemoizedMergedChildContext=e=as(e,t,aa),r7(ar),r7(an),ae(an,e)):r7(ar),ae(ar,n)}var ad=null,ap=!1,ah=!1;function am(e){null===ad?ad=[e]:ad.push(e)}function ag(e){ap=!0,am(e)}function ay(){if(!ah&&null!==ad){ah=!0;var e=0,t=tk;try{var n=ad;for(tk=1;e>=l,a-=l,ax=1<<32-tu(t)+a|n<m?(g=f,f=null):g=f.sibling;var y=p(a,f,i[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(a,f),l=o(y,l,m),null===c?s=y:c.sibling=y,c=y,f=g}if(m===i.length)return n(a,f),aM&&aR(a,m),s;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=p(a,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),l=o(b,l,g),null===c?s=b:c.sibling=b,c=b,m=y}if(v.done)return n(a,m),aM&&aR(a,g),s;if(null===m){for(;!v.done;g++,v=i.next())null!==(v=d(a,v.value,u))&&(l=o(v,l,g),null===c?s=v:c.sibling=v,c=v);return aM&&aR(a,g),s}for(m=r(a,m);!v.done;g++,v=i.next())null!==(v=h(m,a,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),l=o(v,l,g),null===c?s=v:c.sibling=v,c=v);return e&&m.forEach(function(e){return t(a,e)}),aM&&aR(a,g),s}function y(e,r,o,i){if("object"==typeof o&&null!==o&&o.type===O&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case P:e:{for(var u=o.key,s=r;null!==s;){if(s.key===u){if((u=o.type)===O){if(7===s.tag){n(e,s.sibling),(r=a(s,o.props.children)).return=e,e=r;break e}}else if(s.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===j&&aQ(u)===s.type){n(e,s.sibling),(r=a(s,o.props)).ref=aW(e,s,o),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}o.type===O?((r=uN(o.props.children,e.mode,i,o.key)).return=e,e=r):((i=ux(o.type,o.key,o.props,null,e.mode,i)).ref=aW(e,r,o),i.return=e,e=i)}return l(e);case C:e:{for(s=o.key;null!==r;){if(r.key===s)if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}else{n(e,r);break}t(e,r),r=r.sibling}(r=uI(o,e.mode,i)).return=e,e=r}return l(e);case j:return y(e,r,(s=o._init)(o._payload),i)}if(ef(o))return m(e,r,o,i);if(B(o))return g(e,r,o,i);aG(e,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e):(n(e,r),(r=uT(o,e.mode,i)).return=e),l(e=r)):n(e,r)}return y}var aK=aq(!0),aY=aq(!1),aX=r9(null),aJ=null,aZ=null,a0=null;function a1(){a0=aZ=aJ=null}function a2(e){var t=aX.current;r7(aX),e._currentValue=t}function a3(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function a4(e,t){aJ=e,a0=aZ=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(lR=!0),e.firstContext=null)}function a8(e){var t=e._currentValue;if(a0!==e)if(e={context:e,memoizedValue:t,next:null},null===aZ){if(null===aJ)throw Error(f(308));aZ=e,aJ.dependencies={lanes:0,firstContext:e}}else aZ=aZ.next=e;return t}var a5=null;function a6(e){null===a5?a5=[e]:a5.push(e)}function a9(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,a6(t)):(n.next=a.next,a.next=n),t.interleaved=n,a7(e,r)}function a7(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var oe=!1;function ot(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function on(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})}function or(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&iN)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,a7(e,n)}return null===(a=r.interleaved)?(t.next=t,a6(r)):(t.next=a.next,a.next=t),r.interleaved=t,a7(e,n)}function oo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tw(e,n)}}function ol(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function oi(e,t,n,r){var a=e.updateQueue;oe=!1;var o=a.firstBaseUpdate,l=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,s=u.next;u.next=null,null===l?o=s:l.next=s,l=u;var c=e.alternate;null!==c&&(i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u)}if(null!==o){var f=a.baseState;for(l=0,c=s=u=null,i=o;;){var d=i.lane,p=i.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(p,f,d):h))break e;f=G({},f,d);break e;case 2:oe=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[i]:d.push(i))}else p={eventTime:p,lane:d,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,l|=d;if(null===(i=i.next))if(null===(i=a.shared.pending))break;else i=(d=i).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do l|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);i$|=l,e.lanes=l,e.memoizedState=f}}function ou(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=ow.transition;ow.transition={};try{e(!1),t()}finally{tk=n,ow.transition=r}}function le(){return oD().memoizedState}function lt(e,t,n){var r=iZ(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lr(e)?la(t,n):null!==(n=a9(e,t,n,r))&&(i0(n,e,r,iJ()),lo(n,t,r))}function ln(e,t,n){var r=iZ(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lr(e))la(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(a.hasEagerState=!0,a.eagerState=i,n1(i,l)){var u=t.interleaved;null===u?(a.next=a,a6(t)):(a.next=u.next,u.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=a9(e,t,a,r))&&(i0(n,e,r,a=iJ()),lo(n,t,r))}}function lr(e){var t=e.alternate;return e===ox||null!==t&&t===ox}function la(e,t){oI=oT=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lo(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,tw(e,n)}}var ll={readContext:a8,useCallback:oO,useContext:oO,useEffect:oO,useImperativeHandle:oO,useInsertionEffect:oO,useLayoutEffect:oO,useMemo:oO,useReducer:oO,useRef:oO,useState:oO,useDebugValue:oO,useDeferredValue:oO,useTransition:oO,useMutableSource:oO,useSyncExternalStore:oO,useId:oO,unstable_isNewReconciler:!1},li={readContext:a8,useCallback:function(e,t){return oA().memoizedState=[e,void 0===t?null:t],e},useContext:a8,useEffect:oZ,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oX(4194308,4,o3.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oX(4194308,4,e,t)},useInsertionEffect:function(e,t){return oX(4,2,e,t)},useMemo:function(e,t){return t=void 0===t?null:t,oA().memoizedState=[e=e(),t],e},useReducer:function(e,t,n){var r=oA();return r.memoizedState=r.baseState=t=void 0!==n?n(t):t,r.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=lt.bind(null,ox,e),[r.memoizedState,e]},useRef:function(e){return oA().memoizedState=e={current:e}},useState:oq,useDebugValue:o8,useDeferredValue:function(e){return oA().memoizedState=e},useTransition:function(){var e=oq(!1),t=e[0];return e=o7.bind(null,e[1]),oA().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ox,a=oA();if(aM){if(void 0===n)throw Error(f(407));n=n()}else{if(n=t(),null===iR)throw Error(f(349));0!=(30&ok)||oV(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oZ(oW.bind(null,r,o,e),[e]),r.flags|=2048,oK(9,oB.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=oA(),t=iR.identifierPrefix;if(aM){var n=aN,r=ax;t=":"+t+"R"+(n=(r&~(1<<32-tu(r)-1)).toString(32)+n),0<(n=oP++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=oC++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},lu={readContext:a8,useCallback:o5,useContext:a8,useEffect:o0,useImperativeHandle:o4,useInsertionEffect:o1,useLayoutEffect:o2,useMemo:o6,useReducer:oz,useRef:oY,useState:function(){return oz(oF)},useDebugValue:o8,useDeferredValue:function(e){return o9(oD(),oN.memoizedState,e)},useTransition:function(){return[oz(oF)[0],oD().memoizedState]},useMutableSource:oj,useSyncExternalStore:oU,useId:le,unstable_isNewReconciler:!1},ls={readContext:a8,useCallback:o5,useContext:a8,useEffect:o0,useImperativeHandle:o4,useInsertionEffect:o1,useLayoutEffect:o2,useMemo:o6,useReducer:oH,useRef:oY,useState:function(){return oH(oF)},useDebugValue:o8,useDeferredValue:function(e){var t=oD();return null===oN?t.memoizedState=e:o9(t,oN.memoizedState,e)},useTransition:function(){return[oH(oF)[0],oD().memoizedState]},useMutableSource:oj,useSyncExternalStore:oU,useId:le,unstable_isNewReconciler:!1};function lc(e,t){if(e&&e.defaultProps)for(var n in t=G({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function lf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:G({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ld={isMounted:function(e){return!!(e=e._reactInternals)&&eJ(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=iJ(),a=iZ(e),o=or(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=oa(e,o,a))&&(i0(t,e,a,r),oo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=iJ(),a=iZ(e),o=or(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=oa(e,o,a))&&(i0(t,e,a,r),oo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=iJ(),r=iZ(e),a=or(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=oa(e,a,r))&&(i0(t,e,r,n),oo(t,e,r))}};function lp(e,t,n,r,a,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,l):!t.prototype||!t.prototype.isPureReactComponent||!n2(n,r)||!n2(a,o)}function lh(e,t,n){var r=!1,a=at,o=t.contextType;return"object"==typeof o&&null!==o?o=a8(o):(a=al(t)?aa:an.current,o=(r=null!=(r=t.contextTypes))?ao(e,a):at),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ld,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function lm(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ld.enqueueReplaceState(t,t.state,null)}function lg(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},ot(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=a8(o):a.context=ao(e,o=al(t)?aa:an.current),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(lf(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&ld.enqueueReplaceState(a,a.state,null),oi(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ly(e,t){try{var n="",r=t;do n+=Y(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function lv(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function lb(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var lS="function"==typeof WeakMap?WeakMap:Map;function l_(e,t,n){(n=or(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){iU||(iU=!0,iV=r),lb(e,t)},n}function lE(e,t,n){(n=or(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){lb(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){lb(e,t),"function"!=typeof r&&(null===iB?iB=new Set([this]):iB.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function lw(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lS;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=um.bind(null,e,t,n),t.then(e,e))}function lk(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function lx(e,t,n,r,a){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=or(-1,1)).tag=2,oa(n,t,1))),n.lanes|=1):(e.flags|=65536,e.lanes=a),e}var lN=I.ReactCurrentOwner,lR=!1;function lT(e,t,n,r){t.child=null===e?aY(t,null,n,r):aK(t,e.child,n,r)}function lI(e,t,n,r,a){n=n.render;var o=t.ref;return(a4(t,a),r=o$(e,t,n,r,o,a),n=oL(),null===e||lR)?(aM&&n&&aI(t),t.flags|=1,lT(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,lK(e,t,a))}function lP(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||uE(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ux(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,lC(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:n2)(l,r)&&e.ref===t.ref)return lK(e,t,a)}return t.flags|=1,(e=uk(o,r)).ref=t.ref,e.return=t,t.child=e}function lC(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n2(o,r)&&e.ref===t.ref)if(lR=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,lK(e,t,a);else 0!=(131072&e.flags)&&(lR=!0)}return l$(e,t,n,r,a)}function lO(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(iC,iP),iP|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(iC,iP),iP|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,ae(iC,iP),iP|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ae(iC,iP),iP|=r;return lT(e,t,a,n),t.child}function lM(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function l$(e,t,n,r,a){var o=al(n)?aa:an.current;return(o=ao(t,o),a4(t,a),n=o$(e,t,n,r,o,a),r=oL(),null===e||lR)?(aM&&r&&aI(t),t.flags|=1,lT(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,lK(e,t,a))}function lL(e,t,n,r,a){if(al(n)){var o=!0;ac(t)}else o=!1;if(a4(t,a),null===t.stateNode)lq(e,t),lh(t,n,r),lg(t,n,r,a),r=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var u=l.context,s=n.contextType;s="object"==typeof s&&null!==s?a8(s):ao(t,s=al(n)?aa:an.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==r||u!==s)&&lm(t,l,r,s),oe=!1;var d=t.memoizedState;l.state=d,oi(t,r,l,a),u=t.memoizedState,i!==r||d!==u||ar.current||oe?("function"==typeof c&&(lf(t,n,c,r),u=t.memoizedState),(i=oe||lp(t,n,i,r,d,u,s))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=i):("function"==typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,on(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:lc(t.type,i),l.props=s,f=t.pendingProps,d=l.context,u="object"==typeof(u=n.contextType)&&null!==u?a8(u):ao(t,u=al(n)?aa:an.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==f||d!==u)&&lm(t,l,r,u),oe=!1,d=t.memoizedState,l.state=d,oi(t,r,l,a);var h=t.memoizedState;i!==f||d!==h||ar.current||oe?("function"==typeof p&&(lf(t,n,p,r),h=t.memoizedState),(s=oe||lp(t,n,s,r,d,h,u)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,h,u),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),l.props=r,l.state=h,l.context=u,r=s):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return lA(e,t,n,r,o,a)}function lA(e,t,n,r,a,o){lM(e,t);var l=0!=(128&t.flags);if(!r&&!l)return a&&af(t,n,!1),lK(e,t,o);r=t.stateNode,lN.current=t;var i=l&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=aK(t,e.child,null,o),t.child=aK(t,null,i,o)):lT(e,t,i,o),t.memoizedState=r.state,a&&af(t,n,!0),t.child}function lD(e){var t=e.stateNode;t.pendingContext?au(e,t.pendingContext,t.pendingContext!==t.context):t.context&&au(e,t.context,!1),oh(e,t.containerInfo)}function lF(e,t,n,r,a){return aU(),aV(a),t.flags|=256,lT(e,t,n,r),t.child}var lz={dehydrated:null,treeContext:null,retryLane:0};function lH(e){return{baseLanes:e,cachePool:null,transitions:null}}function lj(e,t,n){var r,a=t.pendingProps,o=ov.current,l=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(l=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),ae(ov,1&o),null===e)return(aF(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(i=a.children,e=a.fallback,l?(a=t.mode,l=t.child,i={mode:"hidden",children:i},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=i):l=uR(i,a,0,null),e=uN(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=lH(n),t.memoizedState=lz,e):lU(t,i));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return lB(e,t,i,a,r,o,n);if(l){l=a.fallback,i=t.mode,r=(o=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&i)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=uk(o,u)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?l=uk(r,l):(l=uN(l,i,n,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,i=null===(i=e.child.memoizedState)?lH(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=lz,a}return e=(l=e.child).sibling,a=uk(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function lU(e,t){return(t=uR({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function lV(e,t,n,r){return null!==r&&aV(r),aK(t,e.child,null,n),e=lU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lB(e,t,n,r,a,o,l){if(n)return 256&t.flags?(t.flags&=-257,lV(e,t,l,r=lv(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=uR({mode:"visible",children:r.children},a,0,null),o=uN(o,a,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&aK(t,e.child,null,l),t.child.memoizedState=lH(l),t.memoizedState=lz,o);if(0==(1&t.mode))return lV(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var i=r.dgst;return r=i,lV(e,t,l,r=lv(o=Error(f(419)),r,void 0))}if(i=0!=(l&e.childLanes),lR||i){if(null!==(r=iR)){switch(l&-l){case 4:a=2;break;case 16:a=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 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==o.retryLane&&(o.retryLane=a,a7(e,a),i0(r,e,a,-1))}return ua(),lV(e,t,l,r=lv(Error(f(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=uy.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,aO=rQ(a.nextSibling),aC=t,aM=!0,a$=null,null!==e&&(aE[aw++]=ax,aE[aw++]=aN,aE[aw++]=ak,ax=e.id,aN=e.overflow,ak=t),t=lU(t,r.children),t.flags|=4096,t)}function lW(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),a3(e.return,t,n)}function lG(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function lQ(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(lT(e,t,r.children,n),0!=(2&(r=ov.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&lW(e,n,t);else if(19===e.tag)lW(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ae(ov,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===ob(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),lG(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ob(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}lG(t,!0,n,null,o);break;case"together":lG(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lq(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lK(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),i$|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(n=uk(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=uk(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function lY(e,t,n){switch(t.tag){case 3:lD(t),aU();break;case 5:og(t);break;case 1:al(t.type)&&ac(t);break;case 4:oh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;ae(aX,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return ae(ov,1&ov.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return lj(e,t,n);return ae(ov,1&ov.current),null!==(e=lK(e,t,n))?e.sibling:null}ae(ov,1&ov.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return lQ(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),ae(ov,ov.current),!r)return null;break;case 22:case 23:return t.lanes=0,lO(e,t,n)}return lK(e,t,n)}function lX(e,t){if(!aM)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lJ(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lZ(e,t,n){var r=t.pendingProps;switch(aP(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lJ(t),null;case 1:case 17:return al(t.type)&&ai(),lJ(t),null;case 3:return r=t.stateNode,om(),r7(ar),r7(an),o_(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(aH(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==a$&&(i4(a$),a$=null))),o(e,t),lJ(t),null;case 5:oy(t);var u=op(od.current);if(n=t.type,null!==e&&null!=t.stateNode)l(e,t,n,r,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(f(166));return lJ(t),null}if(e=op(oc.current),aH(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[rY]=t,r[rX]=s,e=0!=(1&t.mode),n){case"dialog":rw("cancel",r),rw("close",r);break;case"iframe":case"object":case"embed":rw("load",r);break;case"video":case"audio":for(u=0;u<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rY]=t,e[rX]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=eT(n,r),n){case"dialog":rw("cancel",e),rw("close",e),u=r;break;case"iframe":case"object":case"embed":rw("load",e),u=r;break;case"video":case"audio":for(u=0;uiH&&(t.flags|=128,r=!0,lX(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ob(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),lX(s,!0),null===s.tail&&"hidden"===s.tailMode&&!c.alternate&&!aM)return lJ(t),null}else 2*e9()-s.renderingStartTime>iH&&0x40000000!==n&&(t.flags|=128,r=!0,lX(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=s.last)?n.sibling=c:t.child=c,s.last=c)}if(null!==s.tail)return t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=e9(),t.sibling=null,n=ov.current,ae(ov,r?1&n|2:1&n),t;return lJ(t),null;case 22:case 23:return ue(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&iP)&&(lJ(t),6&t.subtreeFlags&&(t.flags|=8192)):lJ(t),null;case 24:case 25:return null}throw Error(f(156,t.tag))}function l0(e,t){switch(aP(t),t.tag){case 1:return al(t.type)&&ai(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return om(),r7(ar),r7(an),o_(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oy(t),null;case 13:if(r7(ov),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));aU()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return r7(ov),null;case 4:return om(),null;case 10:return a2(t.type._context),null;case 22:case 23:return ue(),null;default:return null}}a=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},o=function(){},l=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,op(oc.current);var o,l=null;switch(n){case"input":a=eo(e,a),r=eo(e,r),l=[];break;case"select":a=G({},a,{value:void 0}),r=G({},r,{value:void 0}),l=[];break;case"textarea":a=ep(e,a),r=ep(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rD)}for(s in eR(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s){var i=a[s];for(o in i)i.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var u=r[s];if(i=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&u!==i&&(null!=u||null!=i))if("style"===s)if(i){for(o in i)!i.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&i[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(l||(l=[]),l.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,i=i?i.__html:void 0,null!=u&&i!==u&&(l=l||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&rw("scroll",e),l||i===u||(l=[])):(l=l||[]).push(s,u))}n&&(l=l||[]).push("style",n);var s=l;(t.updateQueue=s)&&(t.flags|=4)}},i=function(e,t,n,r){n!==r&&(t.flags|=4)};var l1=!1,l2=!1,l3="function"==typeof WeakSet?WeakSet:Set,l4=null;function l8(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){uh(e,t,n)}else n.current=null}function l5(e,t,n){try{n()}catch(n){uh(e,t,n)}}var l6=!1;function l9(e,t){if(rF=tY,n6(e=n5())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(e){n=null;break e}var i=0,u=-1,s=-1,c=0,d=0,p=e,h=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(u=i+o),p!==l||0!==r&&3!==p.nodeType||(s=i+r),3===p.nodeType&&(i+=p.nodeValue.length),null!==(a=p.firstChild);)h=p,p=a;for(;;){if(p===e)break t;if(h===n&&++c===o&&(u=i),h===l&&++d===r&&(s=i),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(rz={focusedElem:e,selectionRange:n},tY=!1,l4=t;null!==l4;)if(e=(t=l4).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,l4=e;else for(;null!==l4;){t=l4;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:lc(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var S=t.stateNode.containerInfo;1===S.nodeType?S.textContent="":9===S.nodeType&&S.documentElement&&S.removeChild(S.documentElement);break;default:throw Error(f(163))}}catch(e){uh(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,l4=e;break}l4=t.return}return m=l6,l6=!1,m}function l7(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&l5(t,n,o)}a=a.next}while(a!==r)}}function ie(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function it(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ir(e){var t=e.alternate;null!==t&&(e.alternate=null,ir(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[rY],delete t[rX],delete t[rZ],delete t[r0],delete t[r1]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ia(e){return 5===e.tag||3===e.tag||4===e.tag}function io(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ia(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function il(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=rD));else if(4!==r&&null!==(e=e.child))for(il(e,t,n),e=e.sibling;null!==e;)il(e,t,n),e=e.sibling}function ii(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ii(e,t,n),e=e.sibling;null!==e;)ii(e,t,n),e=e.sibling}var iu=null,is=!1;function ic(e,t,n){for(n=n.child;null!==n;)id(e,t,n),n=n.sibling}function id(e,t,n){if(tl&&"function"==typeof tl.onCommitFiberUnmount)try{tl.onCommitFiberUnmount(to,n)}catch(e){}switch(n.tag){case 5:l2||l8(n,t);case 6:var r=iu,a=is;iu=null,ic(e,t,n),iu=r,is=a,null!==iu&&(is?(e=iu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iu.removeChild(n.stateNode));break;case 18:null!==iu&&(is?(e=iu,n=n.stateNode,8===e.nodeType?rG(e.parentNode,n):1===e.nodeType&&rG(e,n),tq(e)):rG(iu,n.stateNode));break;case 4:r=iu,a=is,iu=n.stateNode.containerInfo,is=!0,ic(e,t,n),iu=r,is=a;break;case 0:case 11:case 14:case 15:if(!l2&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,l=o.destroy;o=o.tag,void 0!==l&&(0!=(2&o)?l5(n,t,l):0!=(4&o)&&l5(n,t,l)),a=a.next}while(a!==r)}ic(e,t,n);break;case 1:if(!l2&&(l8(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){uh(n,t,e)}ic(e,t,n);break;case 21:default:ic(e,t,n);break;case 22:1&n.mode?(l2=(r=l2)||null!==n.memoizedState,ic(e,t,n),l2=r):ic(e,t,n)}}function ip(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new l3),t.forEach(function(t){var r=uv.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ih(e,t){var n=t.deletions;if(null!==n)for(var r=0;ra&&(a=l),r&=~o}if(r=a,10<(r=(120>(r=e9()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iE(r/1960))-r)){e.timeoutHandle=rj(uc.bind(null,e,iF,ij),r);break}uc(e,iF,ij);break;default:throw Error(f(329))}}}return i1(e,e9()),e.callbackNode===n?i2.bind(null,e):null}function i3(e,t){var n=iD;return e.current.memoizedState.isDehydrated&&(ut(e,t).flags|=256),2!==(e=uo(e,t))&&(t=iF,iF=n,null!==t&&i4(t)),e}function i4(e){null===iF?iF=e:iF.push.apply(iF,e)}function i8(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;re?16:e,null===iG)var r=!1;else{if(e=iG,iG=null,iQ=0,0!=(6&iN))throw Error(f(331));var a=iN;for(iN|=4,l4=e.current;null!==l4;){var o=l4,l=o.child;if(0!=(16&l4.flags)){var i=o.deletions;if(null!==i){for(var u=0;ue9()-iz?ut(e,0):iA|=n),i1(e,t)}function ug(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tp,0==(0x7c00000&(tp<<=1))&&(tp=4194304)));var n=iJ();null!==(e=a7(e,t))&&(t_(e,t,n),i1(e,n))}function uy(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ug(e,n)}function uv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(t),ug(e,n)}function ub(e,t){return e4(e,t)}function uS(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function u_(e,t,n,r){return new uS(e,t,n,r)}function uE(e){return!(!(e=e.prototype)||!e.isReactComponent)}function uw(e){if("function"==typeof e)return+!!uE(e);if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===H)return 14}return 2}function uk(e,t){var n=e.alternate;return null===n?((n=u_(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ux(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)uE(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case O:return uN(n.children,a,o,t);case M:l=8,a|=8;break;case $:return(e=u_(12,n,t,2|a)).elementType=$,e.lanes=o,e;case F:return(e=u_(13,n,t,a)).elementType=F,e.lanes=o,e;case z:return(e=u_(19,n,t,a)).elementType=z,e.lanes=o,e;case U:return uR(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case L:l=10;break e;case A:l=9;break e;case D:l=11;break e;case H:l=14;break e;case j:l=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=u_(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function uN(e,t,n,r){return(e=u_(7,e,r,t)).lanes=n,e}function uR(e,t,n,r){return(e=u_(22,e,r,t)).elementType=U,e.lanes=n,e.stateNode={isHidden:!1},e}function uT(e,t,n){return(e=u_(6,e,null,t)).lanes=n,e}function uI(e,t,n){return(t=u_(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uP(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tS(0),this.expirationTimes=tS(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tS(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function uC(e,t,n,r,a,o,l,i,u){return e=new uP(e,t,n,i,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=u_(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ot(o),e}function uO(e,t,n){var r=3>>1,a=e[r];if(0>>1;ro(u,n))so(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else if(so(c,n))e[r]=c,e[s]=n,r=s;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l,i=performance;t.unstable_now=function(){return i.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var c=[],f=[],d=1,p=null,h=3,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,S="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(f);null!==t;){if(null===t.callback)a(f);else if(t.startTime<=e)a(f),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(f)}}function E(e){if(y=!1,_(e),!g)if(null!==r(c))g=!0,M(w);else{var t=r(f);null!==t&&$(E,t.startTime-e)}}function w(e,n){g=!1,y&&(y=!1,b(N),N=-1),m=!0;var o=h;try{for(_(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!I());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var i=l(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof i?p.callback=i:p===r(c)&&a(c),_(n)}else a(c);p=r(c)}if(null!==p)var u=!0;else{var s=r(f);null!==s&&$(E,s.startTime-n),u=!1}return u}finally{p=null,h=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k=!1,x=null,N=-1,R=5,T=-1;function I(){return!(t.unstable_now()-Te||125l?(e.sortIndex=o,n(f,e),null===r(c)&&e===r(f)&&(y?(b(N),N=-1):y=!0,$(E,o-l))):(e.sortIndex=i,n(c,e),g||m||(g=!0,M(w))),e},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},3840:function(e,t,n){e.exports=n(53)},8051:function(e,t){let n="RUNTIME-001",r="RUNTIME-002",a="RUNTIME-003",o="RUNTIME-004",l="RUNTIME-005",i="RUNTIME-006",u="RUNTIME-007",s="RUNTIME-008",c="TYPE-001",f="BUILD-001",d=e=>{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},p=(e,t,n,r)=>{let a=[`${[t[e]]} #${e}`];return n&&a.push(`args: ${JSON.stringify(n)}`),a.push(d(e)),r&&a.push(`Original Error Message: - ${r}`),a.join("\n")};function h(){return(h=Object.assign||function(e){for(var t=1;te===t)&&e.push(t),e}function d(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function p(e){return void 0!==e.entry}function h(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}async function m(e,t){try{return await e()}catch(e){t||c(e);return}}function g(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function v(e){return"[object Object]"===y.call(e)}function b(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function S(e){return Array.isArray(e)?e:[e]}function _(e){let t={url:"",type:"global",globalName:""};return a.isBrowserEnv()||a.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let E=(e,t)=>{let n;return n=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),n+=t},w="object"==typeof globalThis?globalThis:window,k=(()=>{try{return document.defaultView}catch(e){return w}})(),x=k;function N(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function R(e,t){return Object.hasOwnProperty.call(e,t)}R(w,"__GLOBAL_LOADING_REMOTE_ENTRY__")||N(w,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let T=w.__GLOBAL_LOADING_REMOTE_ENTRY__;function I(e){var t,n,r,a,o,l,i,u,s,c,f,d;R(e,"__VMOK__")&&!R(e,"__FEDERATION__")&&N(e,"__FEDERATION__",e.__VMOK__),R(e,"__FEDERATION__")||(N(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),N(e,"__VMOK__",e.__FEDERATION__)),null!=(i=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(u=(n=e.__FEDERATION__).__INSTANCES__)||(n.__INSTANCES__=[]),null!=(s=(r=e.__FEDERATION__).moduleInfo)||(r.moduleInfo={}),null!=(c=(a=e.__FEDERATION__).__SHARE__)||(a.__SHARE__={}),null!=(f=(o=e.__FEDERATION__).__MANIFEST_LOADING__)||(o.__MANIFEST_LOADING__={}),null!=(d=(l=e.__FEDERATION__).__PRELOADED_MAP__)||(l.__PRELOADED_MAP__=new Map)}function P(){w.__FEDERATION__.__GLOBAL_PLUGIN__=[],w.__FEDERATION__.__INSTANCES__=[],w.__FEDERATION__.moduleInfo={},w.__FEDERATION__.__SHARE__={},w.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(T).forEach(e=>{delete T[e]})}function C(e){w.__FEDERATION__.__INSTANCES__.push(e)}function O(){return w.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.isDebugMode();t&&(w.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,w.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}function $(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let n of Object.keys(e)){let[r,a]=n.split(":"),o=`${r}:${t}`,l=e[o];if(l)return{value:l,key:o}}return{value:void 0,key:t}}throw Error("key must be string")}I(w),I(k);let L=()=>k.__FEDERATION__.moduleInfo,A=(e,t)=>{let n=$(t,d(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){let{version:t}=e,n=d(r._object_without_properties_loose(e,["version"])),a=$(k.__FEDERATION__.moduleInfo,n).value;if((null==a?void 0:a.version)===t)return a}},D=e=>A(e,k.__FEDERATION__.moduleInfo),F=(e,t)=>{let n=d(e);return k.__FEDERATION__.moduleInfo[n]=t,k.__FEDERATION__.moduleInfo},z=e=>(k.__FEDERATION__.moduleInfo=r._extends({},k.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete k.__FEDERATION__.moduleInfo[t]}),H=(e,t)=>{let n=t||`__FEDERATION_${e}:custom__`,r=w[n];return{remoteEntryKey:n,entryExports:r}},j=e=>{let{__GLOBAL_PLUGIN__:t}=k.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):c(`The plugin ${e.name} has been registered.`)})},U=()=>k.__FEDERATION__.__GLOBAL_PLUGIN__,V=e=>w.__FEDERATION__.__PRELOADED_MAP__.get(e),B=e=>w.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),W="default",G="global",Q="[0-9A-Za-z-]+",q=`(?:\\+(${Q}(?:\\.${Q})*))`,K="0|[1-9]\\d*",Y="[0-9]+",X="\\d*[a-zA-Z-][a-zA-Z0-9-]*",J=`(?:${Y}|${X})`,Z=`(?:-?(${J}(?:\\.${J})*))`,ee=`(?:${K}|${X})`,et=`(?:-(${ee}(?:\\.${ee})*))`,en=`${K}|x|X|\\*`,er=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${et})?${q}?)?)?`,ea=`^\\s*(${er})\\s+-\\s+(${er})\\s*$`,eo=`(${Y})\\.(${Y})\\.(${Y})`,el=`[v=\\s]*${eo}${Z}?${q}?`,ei="((?:<|>)?=?)",eu=`(\\s*)${ei}\\s*(${el}|${er})`,es="(?:~>?)",ec=`(\\s*)${es}\\s+`,ef="(?:\\^)",ed=`(\\s*)${ef}\\s+`,ep="(<|>)?=?\\s*\\*",eh=`^${ef}${er}$`,em=`(${K})\\.(${K})\\.(${K})`,eg=`v?${em}${et}?${q}?`,ey=`^${es}${er}$`,ev=`^${ei}\\s*${er}$`,eb=`^${ei}\\s*(${eg})$|^$`,eS="^\\s*>=\\s*0.0.0\\s*$";function e_(e){return new RegExp(e)}function eE(e){return!e||"x"===e.toLowerCase()||"*"===e}function ew(){for(var e=arguments.length,t=Array(e),n=0;nt.reduce((e,t)=>t(e),e)}function ek(e){return e.match(e_(eb))}function ex(e,t,n,r){let a=`${e}.${t}.${n}`;return r?`${a}-${r}`:a}function eN(e){return e.replace(e_(ea),(e,t,n,r,a,o,l,i,u,s,c,f)=>(t=eE(n)?"":eE(r)?`>=${n}.0.0`:eE(a)?`>=${n}.${r}.0`:`>=${t}`,i=eE(u)?"":eE(s)?`<${Number(u)+1}.0.0-0`:eE(c)?`<${u}.${Number(s)+1}.0-0`:f?`<=${u}.${s}.${c}-${f}`:`<=${i}`,`${t} ${i}`.trim()))}function eR(e){return e.replace(e_(eu),"$1$2$3")}function eT(e){return e.replace(e_(ec),"$1~")}function eI(e){return e.replace(e_(ed),"$1^")}function eP(e){return e.trim().split(/\s+/).map(e=>e.replace(e_(eh),(e,t,n,r,a)=>{if(eE(t))return"";if(eE(n))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(eE(r))if("0"===t)return`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`;else return`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`;if(a)if("0"!==t)return`>=${t}.${n}.${r}-${a} <${Number(t)+1}.0.0-0`;else if("0"===n)return`>=${t}.${n}.${r}-${a} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r}-${a} <${t}.${Number(n)+1}.0-0`;if("0"===t)if("0"===n)return`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`;return`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`})).join(" ")}function eC(e){return e.trim().split(/\s+/).map(e=>e.replace(e_(ey),(e,t,n,r,a)=>eE(t)?"":eE(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:eE(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:a?`>=${t}.${n}.${r}-${a} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(" ")}function eO(e){return e.split(/\s+/).map(e=>e.trim().replace(e_(ev),(e,t,n,r,a,o)=>{let l=eE(n),i=l||eE(r),u=i||eE(a);if("="===t&&u&&(t=""),o="",l)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&u?(i&&(r=0),a=0,">"===t?(t=">=",i?(n=Number(n)+1,r=0):r=Number(r)+1,a=0):"<="===t&&(t="<",i?n=Number(n)+1:r=Number(r)+1),"<"===t&&(o="-0"),`${t+n}.${r}.${a}${o}`):i?`>=${n}.0.0${o} <${Number(n)+1}.0.0-0`:u?`>=${n}.${r}.0${o} <${n}.${Number(r)+1}.0-0`:e})).join(" ")}function eM(e){return e.trim().replace(e_(ep),"")}function e$(e){return e.trim().replace(e_(eS),"")}function eL(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eA(e,t){let{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&r)return 1;if(n&&void 0===r)return -1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){let t=n[e],a=r[e];if(t!==a){if(void 0===t&&void 0===a)return 0;if(!t)return 1;if(!a)return -1;return eL(t,a)}}return 0}function eD(e,t){return eL(e.major,t.major)||eL(e.minor,t.minor)||eL(e.patch,t.patch)||eA(e,t)}function eF(e,t){return e.version===t.version}function ez(e,t){switch(e.operator){case"":case"=":return eF(e,t);case">":return 0>eD(e,t);case">=":return eF(e,t)||0>eD(e,t);case"<":return eD(e,t)>0;case"<=":return eF(e,t)||eD(e,t)>0;case void 0:return!0;default:return!1}}function eH(e){return ew(eP,eC,eO,eM)(e)}function ej(e){return ew(eN,eR,eT,eI)(e.trim()).split(/\s+/).join(" ")}function eU(e,t){if(!e)return!1;let n=ej(t).split(" ").map(e=>eH(e)).join(" ").split(/\s+/).map(e=>e$(e)),r=ek(e);if(!r)return!1;let[,a,,o,l,i,u]=r,s={operator:a,version:ex(o,l,i,u),major:o,minor:l,patch:i,preRelease:null==u?void 0:u.split(".")};for(let e of n){let t=ek(e);if(!t)return!1;let[,n,,r,a,o,l]=t;if(!ez({operator:n,version:ex(r,a,o,l),major:r,minor:a,patch:o,preRelease:null==l?void 0:l.split(".")},s))return!1}return!0}function eV(e,t,n,a){var o,l,i;let u;return u="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${n}'!`)}),r._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:r._extends({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:u,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:null!=(o=e.version)?o:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(l=e.scope)?l:"default"],strategy:(null!=(i=e.strategy)?i:a)||"version-first"})}function eB(e,t){let n=t.shared||{},a=t.name,o=Object.keys(n).reduce((e,r)=>{let o=S(n[r]);return e[r]=e[r]||[],o.forEach(n=>{e[r].push(eV(n,a,r,t.shareStrategy))}),e},{}),l=r._extends({},e.shared);return Object.keys(o).forEach(e=>{l[e]?o[e].forEach(t=>{l[e].find(e=>e.version===t.version)||l[e].push(t)}):l[e]=o[e]}),{shared:l,shareInfos:o}}function eW(e,t){let n=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!eU(n(e),`<=${n(t)}`)}let eG=(e,t)=>{let n=t||function(e,t){return eW(e,t)};return Object.keys(e).reduce((e,t)=>!e||n(e,t)||"0"===e?t:e,0)},eQ=e=>!!e.loaded||"function"==typeof e.lib,eq=e=>!!e.loading;function eK(e,t,n){let r=e[t][n],a=function(e,t){return!eQ(r[e])&&eW(e,t)};return eG(e[t][n],a)}function eY(e,t,n){let r=e[t][n],a=function(e,t){let n=e=>eQ(e)||eq(e);if(n(r[t]))if(n(r[e]))return!!eW(e,t);else return!0;return!n(r[e])&&eW(e,t)};return eG(e[t][n],a)}function eX(e){return"loaded-first"===e?eY:eK}function eJ(e,t,n,r){if(!e)return;let{shareConfig:a,scope:o=W,strategy:l}=n;for(let i of Array.isArray(o)?o:[o])if(a&&e[i]&&e[i][t]){let{requiredVersion:o}=a,u=eX(l)(e,i,t),f=()=>{if(a.singleton){if("string"==typeof o&&!eU(u,o)){let r=`Version ${u} from ${u&&e[i][t][u].from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${o})`;a.strictVersion?s(r):c(r)}return e[i][t][u]}if(!1===o||"*"===o||eU(u,o))return e[i][t][u];for(let[n,r]of Object.entries(e[i][t]))if(eU(n,o))return r},d={shareScopeMap:e,scope:i,pkgName:t,version:u,GlobalFederation:x.__FEDERATION__,resolver:f};return(r.emit(d)||d).resolver()}}function eZ(){return x.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:n,extraOptions:r,shareInfos:a}=e,o=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let n=function(e,n){return!eQ(t[e])&&eW(e,n)},r=eG(t,n);return t[r]};return Object.assign({},(null!=(t=null==r?void 0:r.resolver)?t:o)(a[n]),null==r?void 0:r.customShareInfo)}var e1={global:{Global:x,nativeGlobal:k,resetFederationGlobalInfo:P,setGlobalFederationInstance:C,getGlobalFederationConstructor:O,setGlobalFederationConstructor:M,getInfoWithoutType:$,getGlobalSnapshot:L,getTargetSnapshotInfoByModuleInfo:A,getGlobalSnapshotInfoByModuleInfo:D,setGlobalSnapshotInfoByModuleInfo:F,addGlobalSnapshot:z,getRemoteEntryExports:H,registerGlobalPlugins:j,getGlobalHostPlugins:U,getPreloaded:V,setPreloaded:B},share:{getRegisteredShare:eJ,getGlobalShareScope:eZ}};function e2(){return"pimcore_studio_example_bundle:0.0.1"}function e3(e,t){for(let n of e){let e=t.startsWith(n.name),r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return{pkgNameOrAlias:n.name,expose:r=`.${r}`,remote:n};else if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}let a=n.alias&&t.startsWith(n.alias),o=n.alias&&t.replace(n.alias,"");if(n.alias&&a){if(o&&o.startsWith("/"))return{pkgNameOrAlias:n.alias,expose:o=`.${o}`,remote:n};else if(""===o)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}function e4(e,t){for(let n of e)if(t===n.name||n.alias&&t===n.alias)return n}function e8(e,t){let n=U();return n.length>0&&n.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}async function e5(e){let{entry:t,remoteEntryExports:n}=e;return new Promise((e,r)=>{try{n?e(n):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,r]):import(t).then(e).catch(r)}catch(e){r(e)}})}async function e6(e){let{entry:t,remoteEntryExports:n}=e;return new Promise((e,r)=>{try{n?e(n):Function("callbacks",`System.import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,r])}catch(e){r(e)}})}async function e9(e){let{name:t,globalName:n,entry:r,loaderHook:l}=e,{entryExports:i}=H(t,n);return i||a.loadScript(r,{attrs:{},createScriptHook:(e,t)=>{let n=l.lifecycle.createScript.emit({url:e,attrs:t});if(n&&(n instanceof HTMLScriptElement||"script"in n||"timeout"in n))return n}}).then(()=>{let{remoteEntryKey:e,entryExports:a}=H(t,n);return u(a,o.getShortErrorMsg(o.RUNTIME_001,o.runtimeDescMap,{remoteName:t,remoteEntryUrl:r,remoteEntryKey:e})),a}).catch(e=>{throw u(void 0,o.getShortErrorMsg(o.RUNTIME_008,o.runtimeDescMap,{remoteName:t,resourceUrl:r})),e})}async function e7(e){let{remoteInfo:t,remoteEntryExports:n,loaderHook:r}=e,{entry:a,entryGlobalName:o,name:l,type:i}=t;switch(i){case"esm":case"module":return e5({entry:a,remoteEntryExports:n});case"system":return e6({entry:a,remoteEntryExports:n});default:return e9({entry:a,globalName:o,name:l,loaderHook:r})}}async function te(e){let{remoteInfo:t,loaderHook:n}=e,{entry:r,entryGlobalName:l,name:i,type:s}=t,{entryExports:c}=H(i,l);return c||a.loadScriptNode(r,{attrs:{name:i,globalName:l,type:s},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.lifecycle.createScript.emit({url:e,attrs:t});if(r&&"url"in r)return r}}}).then(()=>{let{remoteEntryKey:e,entryExports:t}=H(i,l);return u(t,o.getShortErrorMsg(o.RUNTIME_001,o.runtimeDescMap,{remoteName:i,remoteEntryUrl:r,remoteEntryKey:e})),t}).catch(e=>{throw e})}function tt(e){let{entry:t,name:n}=e;return a.composeKeyWithSeparator(n,t)}async function tn(e){let{origin:t,remoteEntryExports:n,remoteInfo:r}=e,o=tt(r);if(n)return n;if(!T[o]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,l=t.loaderHook;T[o]=e.emit({loaderHook:l,remoteInfo:r,remoteEntryExports:n}).then(e=>e||(a.isBrowserEnv()?e7({remoteInfo:r,remoteEntryExports:n,loaderHook:l}):te({remoteInfo:r,loaderHook:l})))}return T[o]}function tr(e){return r._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||G,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||W})}let ta=class{async getEntry(){let e;if(this.remoteEntryExports)return this.remoteEntryExports;try{e=await tn({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(n){let t=tt(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tn,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:T,uniqueKey:t})}return u(e,`remoteEntryExports is undefined - ${a.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,n,a){let l,{loadFactory:i=!0}=n||{loadFactory:!0},c=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,n=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];n.length||n.push("default"),n.forEach(e=>{t[e]||(t[e]={})});let l=t[n[0]],i=[],u={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?n:this.remoteInfo.shareScope||"default"};Object.defineProperty(u,"shareScopeMap",{value:t,enumerable:!1});let f=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:l,remoteEntryInitOptions:u,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==c?void 0:c.init)&&s(o.getShortErrorMsg(o.RUNTIME_002,o.runtimeDescMap,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await c.init(f.shareScope,f.initScope,f.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(r._extends({},f,{id:e,remoteSnapshot:a,remoteEntryExports:c}))}this.lib=c,this.inited=!0,(l=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:c,expose:t,moduleInfo:this.remoteInfo}))||(l=await c.get(t)),u(l,`${d(this.remoteInfo)} remote don't export ${t}.`);let f=E(this.remoteInfo.name,t),p=this.wraperFactory(l,f);return i?await p():p}wraperFactory(e,t){function n(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let r=await e();return n(r,t),r}:()=>{let r=e();return n(r,t),r}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class to{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function n(){for(var r=arguments.length,a=Array(r),o=0;o0&&this.listeners.forEach(t=>{e=t(...n)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class tl extends to{emit(){let e;for(var t=arguments.length,n=Array(t),r=0;r0){let t=0,r=e=>!1!==e&&(t0){let n=0,r=t=>(c(t),this.onerror(t),e),a=o=>{if(ti(e,o)){if(e=o,n{let n=e[t];n&&this.lifecycle[t].on(n)}))}removePlugin(e){u(e,"A name is required.");let t=this.registerPlugins[e];u(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit(e){let{lifecycle:t,registerPlugins:n}=e;Object.keys(t).forEach(e=>{u(!this.lifecycle[e],`The hook "${e}" has a conflict and cannot be inherited.`),this.lifecycle[e]=t[e]}),Object.keys(n).forEach(e=>{u(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(n[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tf(e){return r._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function td(e,t){return t.map(t=>{let n=e4(e,t.nameOrAlias);return u(n,`Unable to preload ${t.nameOrAlias} as it is not included in ${!n&&a.safeToString({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:tf(t)}})}function tp(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function th(e,t,n){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:o,jsAssetsWithoutEntry:l,entryAssets:i}=n;if(t.options.inBrowser){if(i.forEach(n=>{let{moduleInfo:r}=n,a=t.moduleCache.get(e.name);a?tn({origin:t,remoteInfo:r,remoteEntryExports:a.remoteEntryExports}):tn({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){let e={rel:"preload",as:"style"};o.forEach(n=>{let{link:r,needAttach:o}=a.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});o&&document.head.appendChild(r)})}else{let e={rel:"stylesheet",type:"text/css"};o.forEach(n=>{let{link:r,needAttach:o}=a.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});o&&document.head.appendChild(r)})}if(r){let e={rel:"preload",as:"script"};l.forEach(n=>{let{link:r,needAttach:o}=a.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});o&&document.head.appendChild(r)})}else{let n={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};l.forEach(e=>{let{script:r,needAttach:o}=a.createScript({url:e,cb:()=>{},attrs:n,createScriptHook:(e,n)=>{let r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});o&&document.head.appendChild(r)})}}}function tm(e,t){let n=_(t);n.url||s(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=a.getResourceUrl(t,n.url);a.isBrowserEnv()||r.startsWith("http")||(r=`https:${r}`),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function tg(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:n,expose:a,origin:o,remoteInfo:l}=e;if(!p(t)||!h(t)){let{remoteSnapshot:i,globalSnapshot:u}=await o.snapshotHandler.loadRemoteSnapshotInfo(t);tm(l,i);let s={remote:t,preloadConfig:{nameOrAlias:n,exposes:[a],resourceCategory:"sync",share:!1,depsRemote:!1}},c=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:s,remoteInfo:l,remote:t,remoteSnapshot:i,globalSnapshot:u});return c&&th(l,o,c,!1),r._extends({},e,{remoteSnapshot:i})}return e}}}function ty(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function tv(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=arguments.length>5?arguments[5]:void 0,{value:i}=$(e,d(t)),u=l||i;if(u&&!a.isManifestProvider(u)&&(n(u,t,r),u.remotesInfo))for(let t of Object.keys(u.remotesInfo)){if(o[t])continue;o[t]=!0;let r=ty(t),a=u.remotesInfo[t];tv(e,{name:r.name,version:a.matchedVersion},n,!1,o,void 0)}}let tb=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tS(e,t,n,r,o){let l=[],i=[],u=[],s=new Set,c=new Set,{options:f}=e,{preloadConfig:d}=t,{depsRemote:p}=d;if(tv(r,n,(t,n,r)=>{let o;if(r)o=d;else if(Array.isArray(p)){let e=p.find(e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias);if(!e)return;o=tf(e)}else{if(!0!==p)return;o=d}let s=a.getResourceUrl(t,_(t).url);s&&u.push({name:n.name,moduleInfo:{name:n.name,entry:s,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:s});let c="modules"in t?t.modules:[],f=tp(o.exposes);if(f.length&&"modules"in t){var h;c=null==t||null==(h=t.modules)?void 0:h.reduce((e,t)=>((null==f?void 0:f.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let n=e.map(e=>a.getResourceUrl(t,e));return o.filter?n.filter(o.filter):n}if(c){let r=c.length;for(let a=0;a{let r=eJ(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(n.assets.js.sync.forEach(e=>{s.add(e)}),n.assets.css.sync.forEach(e=>{c.add(e)}))};o.shared.forEach(e=>{var n;let r=null==(n=f.shared)?void 0:n[e.sharedName];if(!r)return;let a=e.version?r.find(t=>t.version===e.version):r;a&&S(a).forEach(n=>{t(n,e)})})}let h=i.filter(e=>!s.has(e)&&!tb("script",e));return{cssAssets:l.filter(e=>!c.has(e)&&!tb("link",e)),jsAssetsWithoutEntry:h,entryAssets:u.filter(e=>!tb("script",e.url))}}let t_=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:n,remoteInfo:r,remote:o,globalSnapshot:l,remoteSnapshot:i}=e;return a.isBrowserEnv()?p(o)&&h(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:r.name,entry:o.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(tm(r,i),tS(t,n,r,l,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tE(e,t){let n=D({name:t.options.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&$(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:L(),remoteSnapshot:D({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:L(),remoteSnapshot:D({name:e.name,version:"version"in e?e.version:void 0})}}class tw{async loadSnapshot(e){let{options:t}=this.HostInstance,{hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:a}=this.getGlobalRemoteInfo(e),{remoteSnapshot:o,globalSnapshot:l}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:a});return{remoteSnapshot:o,globalSnapshot:l}}async loadRemoteSnapshotInfo(e){let t,n,{options:l}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:l,moduleInfo:e});let i=D({name:this.HostInstance.options.name,version:this.HostInstance.options.version});i||(i={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},z({[this.HostInstance.options.name]:i})),i&&"remotesInfo"in i&&!$(i.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(i.remotesInfo=r._extends({},null==i?void 0:i.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));let{hostGlobalSnapshot:u,remoteSnapshot:c,globalSnapshot:f}=this.getGlobalRemoteInfo(e),{remoteSnapshot:d,globalSnapshot:h}=await this.hooks.lifecycle.loadSnapshot.emit({options:l,moduleInfo:e,hostGlobalSnapshot:u,remoteSnapshot:c,globalSnapshot:f});if(d)if(a.isManifestProvider(d)){let o=a.isBrowserEnv()?d.remoteEntry:d.ssrRemoteEntry||d.remoteEntry||"",l=await this.getManifestJson(o,e,{}),i=F(r._extends({},e,{entry:o}),l);t=l,n=i}else{let{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:d,from:"global"});t=r,n=h}else if(p(e)){let r=await this.getManifestJson(e.entry,e,{}),a=F(e,r),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:r,from:"global"});t=o,n=a}else s(o.getShortErrorMsg(o.RUNTIME_007,o.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(h)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:l,moduleInfo:e,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:n}}getGlobalRemoteInfo(e){return tE(e,this.HostInstance)}async getManifestJson(e,t,n){let r=async()=>{let n=this.manifestCache.get(e);if(n)return n;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),n=await t.json()}catch(r){(n=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],s(o.getShortErrorMsg(o.RUNTIME_003,o.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return u(n.metaData&&n.exposes&&n.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,n),n},l=async()=>{let n=await r(),o=a.generateSnapshotFromManifest(n,{version:e}),{remoteSnapshot:l}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:o,manifestUrl:e,from:"manifest"});return l};return this.manifestLoading[e]||(this.manifestLoading[e]=l().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tc({beforeLoadRemoteSnapshot:new tl("beforeLoadRemoteSnapshot"),loadSnapshot:new ts("loadGlobalSnapshot"),loadRemoteSnapshot:new ts("loadRemoteSnapshot"),afterLoadSnapshot:new ts("afterLoadSnapshot")}),this.manifestLoading=x.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tk{registerShared(e,t){let{shareInfos:n,shared:r}=eB(e,t);return Object.keys(n).forEach(e=>{n[e].forEach(n=>{!eJ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)&&n&&n.lib&&this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:!0,shared:n,from:t.name})})}),{shareInfos:n,shared:r}}async loadShare(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));let{shareInfo:a}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:n.options.shared,origin:n});u(a,`Cannot find ${e} Share in the ${n.options.name}. Please ensure that the ${e} Share parameters have been injected`);let o=eJ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare),l=e=>{e.useIn||(e.useIn=[]),f(e.useIn,n.options.name)};if(o&&o.lib)return l(o),o.lib;if(o&&o.loading&&!o.loaded){let e=await o.loading;return o.loaded=!0,o.lib||(o.lib=e),l(o),e}if(o){let t=(async()=>{let t=await o.get();a.lib=t,a.loaded=!0,l(a);let n=eJ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:n.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let r=(async()=>{let t=await a.get();a.lib=t,a.loaded=!0,l(a);let n=eJ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:n.options.name,lib:null,loading:r}),r}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,{host:n}=this,r=null==t?void 0:t.from,a=null==t?void 0:t.strategy,o=null==t?void 0:t.initScope,l=[];if("build"!==r){let{initTokens:t}=this;o||(o=[]);let n=t[e];if(n||(n=t[e]={from:this.host.name}),o.indexOf(n)>=0)return l;o.push(n)}let i=this.shareScopeMap,u=n.options.name;i[e]||(i[e]={});let s=i[e],c=(e,t)=>{var n;let{version:r,eager:a}=t;s[e]=s[e]||{};let o=s[e],l=o[r],i=!!(l&&(l.eager||(null==(n=l.shareConfig)?void 0:n.eager)));(!l||"loaded-first"!==l.strategy&&!l.loaded&&(!a!=!i?a:u>l.from))&&(o[r]=t)},f=t=>t&&t.init&&t.init(i[e],o),d=async e=>{let{module:t}=await n.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let r;try{r=await t.getEntry()}catch(t){r=await n.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:n})}t.inited||(await f(r),t.inited=!0)}};return Object.keys(n.options.shared).forEach(t=>{n.options.shared[t].forEach(n=>{n.scope.includes(e)&&c(t,n)})}),("version-first"===n.options.shareStrategy||"version-first"===a)&&n.options.remotes.forEach(t=>{t.shareScope===e&&l.push(d(t.name))}),l}loadShareSync(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});let a=eJ(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),l=e=>{e.useIn||(e.useIn=[]),f(e.useIn,n.options.name)};if(a){if("function"==typeof a.lib)return l(a),a.loaded||(a.loaded=!0,a.from===n.options.name&&(r.loaded=!0)),a.lib;if("function"==typeof a.get){let t=a.get();if(!(t instanceof Promise))return l(a),this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:t,shared:a}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){let a=r.get();if(a instanceof Promise){let r=(null==t?void 0:t.from)==="build"?o.RUNTIME_005:o.RUNTIME_006;throw Error(o.getShortErrorMsg(r,o.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}return r.lib=a,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:r.lib,shared:r}),r.lib}throw Error(o.getShortErrorMsg(o.RUNTIME_006,o.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:n,from:a,lib:o,loading:l,loaded:i,get:u}=e,{version:s,scope:c="default"}=n,f=r._object_without_properties_loose(n,["version","scope"]);(Array.isArray(c)?c:[c]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][s]){this.shareScopeMap[e][t][s]=r._extends({version:s,scope:["default"]},f,{lib:o,loaded:i,loading:l}),u&&(this.shareScopeMap[e][t][s].get=u);return}let n=this.shareScopeMap[e][t][s];l&&!n.loading&&(n.loading=l)})}_setGlobalShareScopeMap(e){let t=eZ(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}constructor(e){this.hooks=new tc({afterResolve:new ts("afterResolve"),beforeLoadShare:new ts("beforeLoadShare"),loadShare:new tl,resolveShare:new tu("resolveShare"),initContainerShareScopeMap:new tu("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class tx{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:n,expose:r}=t,{name:a,alias:o}=n;if(this.idToRemoteMap[e]={name:n.name,expose:r},o&&e.startsWith(a)){let t=e.replace(a,o);this.idToRemoteMap[t]={name:n.name,expose:r};return}if(o&&e.startsWith(o)){let t=e.replace(o,a);this.idToRemoteMap[t]={name:n.name,expose:r}}}async loadRemote(e,t){let{host:n}=this;try{let{loadFactory:r=!0}=t||{loadFactory:!0},{module:a,moduleOptions:o,remoteMatchInfo:l}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:u,expose:s,id:c,remoteSnapshot:f}=l,d=await a.get(c,s,t,f),p=await this.hooks.lifecycle.onLoad.emit({id:c,pkgNameOrAlias:i,expose:s,exposeModule:r?d:void 0,exposeModuleFactory:r?void 0:d,remote:u,options:o,moduleInstance:a,origin:n});if(this.setIdToRemoteMap(e,l),"function"==typeof p)return p;return d}catch(o){let{from:r="runtime"}=t||{from:"runtime"},a=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:o,from:r,lifecycle:"onLoad",origin:n});if(!a)throw o;return a}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let n=td(t.options.remotes,e);await Promise.all(n.map(async e=>{let{remote:n}=e,r=tr(n),{globalSnapshot:a,remoteSnapshot:o}=await t.snapshotHandler.loadRemoteSnapshotInfo(n),l=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:n,remoteInfo:r,globalSnapshot:a,remoteSnapshot:o});l&&th(r,t,l)}))}registerRemotes(e,t){let{host:n}=this;e.forEach(e=>{this.registerRemote(e,n.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:n}=this,{id:a}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:a,options:n.options,origin:n})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:a,options:n.options,origin:n,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:l}=t,i=e3(n.options.remotes,l);u(i,o.getShortErrorMsg(o.RUNTIME_004,o.runtimeDescMap,{hostName:n.options.name,requestId:l}));let{remote:s}=i,c=tr(s),f=await n.sharedHandler.hooks.lifecycle.afterResolve.emit(r._extends({id:l},i,{options:n.options,origin:n,remoteInfo:c})),{remote:d,expose:p}=f;u(d&&p,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${l}.`);let h=n.moduleCache.get(d.name),m={host:n,remoteInfo:c};return h||(h=new ta(m),n.moduleCache.set(d.name,h)),{module:h,moduleOptions:m,remoteMatchInfo:f}}registerRemote(e,t,n){let{host:r}=this,o=()=>{if(e.alias){let n=t.find(t=>{var n;return e.alias&&(t.name.startsWith(e.alias)||(null==(n=t.alias)?void 0:n.startsWith(e.alias)))});u(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&a.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=W),e.type||(e.type=G)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});let l=t.find(t=>t.name===e.name);if(l){let i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==n?void 0:n.force)&&(this.removeRemote(l),o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),a.warn(i.join(" ")))}else o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{let{host:n}=this,{name:r}=e,o=n.options.remotes.findIndex(e=>e.name===r);-1!==o&&n.options.remotes.splice(o,1);let l=n.moduleCache.get(e.name);if(l){let r=l.remoteInfo,o=r.entryGlobalName;if(w[o]){var t;(null==(t=Object.getOwnPropertyDescriptor(w,o))?void 0:t.configurable)?delete w[o]:w[o]=void 0}let i=tt(l.remoteInfo);T[i]&&delete T[i],n.snapshotHandler.manifestCache.delete(r.entry);let u=r.buildVersion?a.composeKeyWithSeparator(r.name,r.buildVersion):r.name,s=w.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===u:e.name===u);if(-1!==s){let e=w.__FEDERATION__.__INSTANCES__[s];u=e.options.id||u;let t=eZ(),n=!0,a=[];Object.keys(t).forEach(e=>{let o=t[e];o&&Object.keys(o).forEach(t=>{let l=o[t];l&&Object.keys(l).forEach(o=>{let i=l[o];i&&Object.keys(i).forEach(l=>{let u=i[l];u&&"object"==typeof u&&u.from===r.name&&(u.loaded||u.loading?(u.useIn=u.useIn.filter(e=>e!==r.name),u.useIn.length?n=!1:a.push([e,t,o,l])):a.push([e,t,o,l]))})})})}),n&&(e.shareScopeMap={},delete t[u]),a.forEach(e=>{var n,r,a;let[o,l,i,u]=e;null==(a=t[o])||null==(r=a[l])||null==(n=r[i])||delete n[u]}),w.__FEDERATION__.__INSTANCES__.splice(s,1)}let{hostGlobalSnapshot:c}=tE(e,n);if(c){let t=c&&"remotesInfo"in c&&c.remotesInfo&&$(c.remotesInfo,e.name).key;t&&(delete c.remotesInfo[t],x.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete x.__FEDERATION__.__MANIFEST_LOADING__[t])}n.moduleCache.delete(e.name)}}catch(e){i.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tc({beforeRegisterRemote:new tu("beforeRegisterRemote"),registerRemote:new tu("registerRemote"),beforeRequest:new ts("beforeRequest"),onLoad:new tl("onLoad"),handlePreloadModule:new to("handlePreloadModule"),errorLoadRemote:new tl("errorLoadRemote"),beforePreloadRemote:new tl("beforePreloadRemote"),generatePreloadAssets:new tl("generatePreloadAssets"),afterPreloadRemote:new tl,loadEntry:new tl}),this.host=e,this.idToRemoteMap={}}}class tN{initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){let r=new ta({host:this,remoteInfo:tr({name:e,entry:t})});return r.remoteEntryExports=n,this.moduleCache.set(e,r),r}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,n)}formatOptions(e,t){let{shared:n}=eB(e,t),{userOptions:a,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),l=this.remoteHandler.formatAndRegisterRemote(o,a),{shared:i}=this.sharedHandler.registerShared(o,a),u=[...o.plugins];a.plugins&&a.plugins.forEach(e=>{u.includes(e)||u.push(e)});let s=r._extends({},e,t,{plugins:u,remotes:l,shared:i});return this.hooks.lifecycle.init.emit({origin:this,options:s}),s}registerPlugins(e){let t=e8(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new tc({beforeInit:new tu("beforeInit"),init:new to,beforeInitContainer:new ts("beforeInitContainer"),initContainer:new ts("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new tc({getModuleInfo:new to,createScript:new to,createLink:new to,fetch:new tl,loadEntryError:new tl,getModuleFactory:new tl}),this.bridgeHook=new tc({beforeBridgeRender:new to,afterBridgeRender:new to,beforeBridgeDestroy:new to,afterBridgeDestroy:new to});let t={id:e2(),name:e.name,plugins:[tg(),t_()],remotes:[],shared:{},inBrowser:a.isBrowserEnv()};this.name=e.name,this.options=t,this.snapshotHandler=new tw(this),this.sharedHandler=new tk(this),this.remoteHandler=new tx(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}var tR=Object.freeze({__proto__:null});t.loadScript=a.loadScript,t.loadScriptNode=a.loadScriptNode,t.CurrentGlobal=w,t.FederationHost=tN,t.Global=x,t.Module=ta,t.addGlobalSnapshot=z,t.assert=u,t.getGlobalFederationConstructor=O,t.getGlobalSnapshot=L,t.getInfoWithoutType=$,t.getRegisteredShare=eJ,t.getRemoteEntry=tn,t.getRemoteInfo=tr,t.helpers=e1,t.isStaticResourcesEqual=b,t.matchRemoteWithNameAndExpose=e3,t.registerGlobalPlugins=j,t.resetFederationGlobalInfo=P,t.safeWrapper=m,t.satisfy=eU,t.setGlobalFederationConstructor=M,t.setGlobalFederationInstance=C,t.types=tR},4538:function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}t._extends=n,t._object_without_properties_loose=r},3364:function(e,t,n){var r=n(2921),a=n(1858);let o=null;function l(e){let t=a.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),o||(o=t),t):(o=new(r.getGlobalFederationConstructor()||r.FederationHost)(e),r.setGlobalFederationInstance(o),o)}function i(){for(var e=arguments.length,t=Array(e),n=0;n!!n&&r.options.id===a()||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&!!t&&r.options.version===t)}},1322:function(__unused_webpack_module,exports,__webpack_require__){var polyfills=__webpack_require__(5877);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,r=e.split(n),a="development"===getProcessEnv().NODE_ENV&&t,o="*",l=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(r.length>=2){let[t,...i]=r;e.startsWith(n)&&(t=r.slice(0,2).join(n),i=[a||r.slice(2).join(n)]);let u=a||i.join(n);return l(u)?{name:t,entry:u}:{name:t,version:u||o}}if(1===r.length){let[e]=r;return a&&l(a)?{name:e,entry:a}:{name:e,version:a||o}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),n=0;nt?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let r=n?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},decodeName=function(e,t,n){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(RegExp(t,"g"),"")}return r=r.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let n=e;return"."===n&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),encodeName(n,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let n;return n=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${n}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let n=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,n,r;let a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:l={},overrides:i={},version:u}=o,s=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&u?inferAutoPublicPath(u):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(i),f={};Object.keys(l).length||(f=(null==(r=e.remotes)?void 0:r.reduce((e,t)=>{let n,r=t.federationContainerName;return n=c.includes(r)?i[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:n},e},{}))||{}),Object.keys(l).forEach(e=>f[e]={matchedVersion:c.includes(e)?i[e]:l[e]});let{remoteEntry:{path:d,name:p,type:h},types:m,buildInfo:{buildVersion:g},globalName:y,ssrRemoteEntry:v}=e.metaData,{exposes:b}=e,S={version:u||"",buildVersion:g,globalName:y,remoteEntry:simpleJoinRemoteEntry(d,p),remoteEntryType:h,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:f,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==b?void 0:b.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;S=polyfills._({},S,{prefetchInterface:t})}if(null==(n=e.metaData)?void 0:n.prefetchEntry){let{path:t,name:n,type:r}=e.metaData.prefetchEntry;S=polyfills._({},S,{prefetchEntry:simpleJoinRemoteEntry(t,n),prefetchEntryType:r})}return a="publicPath"in e.metaData?polyfills._({},S,{publicPath:s(),ssrPublicPath:e.metaData.ssrPublicPath}):polyfills._({},S,{getPublicPath:s()}),v&&(a.ssrRemoteEntry=simpleJoinRemoteEntry(v.path,v.name),a.ssrRemoteEntryType=v.type||"commonjs-module"),a}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(){for(var e=arguments.length,t=Array(e),n=0;n{n&&("async"===e||"defer"===e?n[e]=r[e]:n.getAttribute(e)||n.setAttribute(e,r[e]))})}let l=async(r,a)=>{clearTimeout(t);let o=()=>{(null==a?void 0:a.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(a)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(n&&(n.onerror=null,n.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==n?void 0:n.parentNode)&&n.parentNode.removeChild(n)}),r&&"function"==typeof r)){let e=r(a);if(e instanceof Promise){let t=await e;return o(),t}return o(),e}o()};return n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),t=setTimeout(()=>{l(null,Error(`Remote script "${e.url}" time-outed.`))},a),{script:n,needAttach:r}}function createLink(e){let t=null,n=!0,r=document.getElementsByTagName("link");for(let a=0;a{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}let a=(n,r)=>{let a=()=>{(null==r?void 0:r.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:n=!0}=e;n&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n)){let e=n(r);return a(),e}a()};return t.onerror=a.bind(null,t.onerror),t.onload=a.bind(null,t.onload),{link:t,needAttach:n}}function loadScript(e,t){let{attrs:n={},createScriptHook:r}=t;return new Promise((t,a)=>{let{script:o,needAttach:l}=createScript({url:e,cb:t,onErrorCallback:a,attrs:polyfills._({fetchpriority:"high"},n),createScriptHook:r,needDeleteScript:!0});l&&document.head.appendChild(o)})}function importNodeModule(e){if(!e)throw Error("import specifier is required");return Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,n)=>{let r=(e,t)=>n.lifecycle.fetch.emit(e,t),a=await r(e,t||{});return a&&a instanceof Response?a:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data} -})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((n,r)=>{createScriptNode(e,(e,a)=>{if(e)r(e);else{var o,l;let e=(null==t||null==(o=t.attrs)?void 0:o.globalName)||`__FEDERATION_${null==t||null==(l=t.attrs)?void 0:l.name}:custom__`;n(globalThis[e]=a)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){let{fetch:n,vm:r}=t,a=await n(e),o=await a.text(),l=new r.SourceTextModule(o,{importModuleDynamically:async(n,r)=>loadModule(new URL(n,e).href,t)});return await l.link(async n=>{let r=new URL(n,e).href;return await loadModule(r,t)}),l}function normalizeOptions(e,t,n){return function(r){if(!1===r)return!1;if(void 0===r)if(e)return t;else return!1;if(!0===r)return t;if(r&&"object"==typeof r)return polyfills._({},t,r);throw Error(`Unexpected type for \`${n}\`, expect boolean/undefined/object, got: ${typeof r}`)}}exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.BROWSER_LOG_VALUE=BROWSER_LOG_VALUE,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},5877:function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t{let t=u.R;t||(t=[]);let r=i[e],l=s[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return n.push(r.p);let c=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=` -while loading "${r[1]}" from ${r[2]}`),u.m[e]=()=>{throw t},r.p=0},f=(e,t,a,o,l,i)=>{try{let u=e(t,a);if(!u||!u.then)return l(u,o,i);{let e=u.then(e=>l(e,o),c);if(!i)return e;n.push(r.p=e)}}catch(e){c(e)}},d=(e,t,n)=>e?f(u.I,r[0],0,e,p,n):c();var p=(e,n,a)=>f(n.get,r[1],t,0,h,a),h=t=>{r.p=1,u.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=o.decodeName(l[0].name,o.ENCODE_NAME_PREFIX)+r[1].slice(1),t=u.federation.instance,n=()=>u.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>n());return n()}catch(e){c(e)}};1===l.length&&a.FEDERATION_SUPPORTED_TYPES.includes(l[0].externalType)&&l[0].name?f(m,r[2],0,0,h,1):f(u,r[2],0,0,d,1)})}function u(e){let{chunkId:t,promises:n,chunkMapping:r,installedModules:a,moduleToHandlerMapping:o,webpackRequire:i}=e;l(i),i.o(r,t)&&r[t].forEach(e=>{if(i.o(a,e))return n.push(a[e]);let t=t=>{a[e]=0,i.m[e]=n=>{delete i.c[e],n.exports=t()}},r=t=>{delete a[e],i.m[e]=n=>{throw delete i.c[e],t}};try{let l=i.federation.instance;if(!l)throw Error("Federation instance not found!");let{shareKey:u,getter:s,shareInfo:c}=o[e],f=l.loadShare(u,{customShareInfo:c}).then(e=>!1===e?s():e);f.then?n.push(a[e]=f.then(t).catch(r)):t(f)}catch(e){r(e)}})}function s(e){let{shareScopeName:t,webpackRequire:n,initPromises:r,initTokens:o,initScope:i}=e,u=Array.isArray(t)?t:[t];var s=[],c=function(e){i||(i=[]);let u=n.federation.instance;var s=o[e];if(s||(s=o[e]={from:u.name}),i.indexOf(s)>=0)return;i.push(s);let c=r[e];if(c)return c;var f=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),d=r=>{var a=e=>f("Initialization of sharing external failed: "+e);try{var o=n(r);if(!o)return;var l=r=>r&&r.init&&r.init(n.S[e],i,{shareScopeMap:n.S||{},shareScopeKeys:t});if(o.then)return p.push(o.then(l,a));var u=l(o);if(u&&"boolean"!=typeof u&&u.then)return p.push(u.catch(a))}catch(e){a(e)}};let p=u.initializeSharing(e,{strategy:u.options.shareStrategy,initScope:i,from:"build"});l(n);let h=n.federation.bundlerRuntimeOptions.remotes;return(h&&Object.keys(h.idToRemoteMap).forEach(e=>{let t=h.idToRemoteMap[e],n=h.idToExternalAndNameMapping[e][2];if(t.length>1)d(n);else if(1===t.length){let e=t[0];a.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||d(n)}}),p.length)?r[e]=Promise.all(p).then(()=>r[e]=!0):r[e]=!0};return u.forEach(e=>{s.push(c(e))}),Promise.all(s).then(()=>!0)}function c(e){let{moduleId:t,moduleToHandlerMapping:n,webpackRequire:r}=e,a=r.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:o,shareInfo:l}=n[t];try{return a.loadShareSync(o,{customShareInfo:l})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function f(e){let{moduleToHandlerMapping:t,webpackRequire:n,installedModules:r,initialConsumes:a}=e;a.forEach(e=>{n.m[e]=a=>{r[e]=0,delete n.c[e];let o=c({moduleId:e,moduleToHandlerMapping:t,webpackRequire:n});if("function"!=typeof o)throw Error(`Shared module is not available for eager consumption: ${e}`);a.exports=o()}})}function d(){return(d=Object.assign||function(e){for(var t=1;t{if(!i||!u)return void l.initShareScopeMap(e,n,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}});u[e]||(u[e]={});let t=u[e];l.initShareScopeMap(e,t,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}})});else{let e=a||"default";Array.isArray(i)?i.forEach(e=>{u[e]||(u[e]={});let t=u[e];l.initShareScopeMap(e,t,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}})}):l.initShareScopeMap(e,n,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(a))?t.federation.initOptions.shared?t.I(a,r):Promise.all(a.map(e=>t.I(e,r))).then(()=>!0):t.I(a||"default",r)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}(r),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:i,consumes:u,I:s,S:{},installInitialConsumes:f,initContainerEntry:p},attachShareScopeMap:l,bundlerRuntimeOptions:{}}},7266:function(e,t,n){var r,a,o,l,i,u,s,c,f,d,p,h,m=n(950),g=n.n(m);let y=[],v={"@pimcore/studio-ui-bundle":[{alias:"@pimcore/studio-ui-bundle",externalType:"promise",shareScope:"default"}]},b="pimcore_studio_example_bundle",S="version-first";if((n.initializeSharingData||n.initializeExposesData)&&n.federation){let e=(e,t,n)=>{e&&e[t]&&(e[t]=n)},t=(e,t,n)=>{var r,a,o,l,i,u;let s=n();Array.isArray(s)?(null!=(o=(r=e)[a=t])||(r[a]=[]),e[t].push(...s)):"object"==typeof s&&null!==s&&(null!=(u=(l=e)[i=t])||(l[i]={}),Object.assign(e[t],s))},m=(e,t,n)=>{var r,a,o;null!=(o=(r=e)[a=t])||(r[a]=n())},_=null!=(c=null==(r=n.remotesLoadingData)?void 0:r.chunkMapping)?c:{},E=null!=(f=null==(a=n.remotesLoadingData)?void 0:a.moduleIdToRemoteDataMapping)?f:{},w=null!=(d=null==(o=n.initializeSharingData)?void 0:o.scopeToSharingDataMapping)?d:{},k=null!=(p=null==(l=n.consumesLoadingData)?void 0:l.chunkMapping)?p:{},x=null!=(h=null==(i=n.consumesLoadingData)?void 0:i.moduleIdToConsumeDataMapping)?h:{},N={},R=[],T={},I=null==(u=n.initializeExposesData)?void 0:u.shareScope;for(let e in g())n.federation[e]=g()[e];m(n.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,n]of Object.entries(x))e[t]={getter:n.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager},scope:[n.shareScope]},shareKey:n.shareKey};return e}),m(n.federation,"initOptions",()=>({})),m(n.federation.initOptions,"name",()=>b),m(n.federation.initOptions,"shareStrategy",()=>S),m(n.federation.initOptions,"shared",()=>{let e={};for(let[t,n]of Object.entries(w))for(let r of n)if("object"==typeof r&&null!==r){let{name:n,version:a,factory:o,eager:l,singleton:i,requiredVersion:u,strictVersion:s}=r,c={},f=function(e){return void 0!==e};f(i)&&(c.singleton=i),f(u)&&(c.requiredVersion=u),f(l)&&(c.eager=l),f(s)&&(c.strictVersion=s);let d={version:a,scope:[t],shareConfig:c,get:o};e[n]?e[n].push(d):e[n]=[d]}return e}),t(n.federation.initOptions,"remotes",()=>Object.values(v).flat().filter(e=>"script"===e.externalType)),t(n.federation.initOptions,"plugins",()=>y),m(n.federation,"bundlerRuntimeOptions",()=>({})),m(n.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>_),m(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,n]of Object.entries(E))e[t]=[n.shareScope,n.name,n.externalModuleId,n.remoteName];return e}),m(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>n),t(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,n]of Object.entries(E)){let r=v[n.remoteName];r&&(e[t]=r)}return e}),e(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),e(n.f,"remotes",(e,t)=>n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:_,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})),e(n.f,"consumes",(e,t)=>n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:k,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:N,webpackRequire:n})),e(n,"I",(e,t)=>n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:R,initTokens:T,webpackRequire:n})),e(n,"initContainer",(e,t,r)=>n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:I,webpackRequire:n})),e(n,"getContainer",(e,t)=>{var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(s=n.consumesLoadingData)?void 0:s.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:N,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping})}}}]); \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js.LICENSE.txt b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js.LICENSE.txt deleted file mode 100644 index 773ca30..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/779.5e0d9af7.js.LICENSE.txt +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js deleted file mode 100644 index 8d7a217..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js +++ /dev/null @@ -1,73 +0,0 @@ -/*! For license information please see 798.5da9846f.js.LICENSE.txt */ -(self.webpackChunkpimcore_studio_example_bundle=self.webpackChunkpimcore_studio_example_bundle||[]).push([["798"],{7468:function(e,t,n){"use strict";let r,o,i,a,c;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}function u(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;tdO});var h,p,g,m,v,y,b,x,w,C,S,k,E,O,$,A,j,_,M,P,T,I,F,N,R,L,H,D,B,z,V,q,W,G,U,K,X,Y,Q,Z,J,ee,et,en,er,eo,ei=n(5136),ea=n.n(ei);function ec(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function es(e,t){for(var n=0;n0?d[v]+" "+y:ep(y,/&\f/g,d[v])).trim())&&(s[m++]=b);return eO(e,t,n,0===o?eR:c,s,l,u)}function eV(e,t,n,r){return eO(e,t,n,eL,ev(e,0,r),ev(e,r+1,-1),r)}var eq=function(e,t,n){for(var r=0,o=0;r=o,o=ej(),38===r&&12===o&&(t[n]=1),!e_(o);)eA();return ev(eE,e,eS)},eW=function(e,t){var n=-1,r=44;do switch(e_(r)){case 0:38===r&&12===ej()&&(t[n]=1),e[n]+=eq(eS-1,t,n);break;case 2:e[n]+=eP(r);break;case 4:if(44===r){e[++n]=58===ej()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ed(r)}while(r=eA());return e},eG=function(e,t){var n;return n=eW(eM(e),t),eE="",n},eU=new WeakMap,eK=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||eU.get(n))&&!r){eU.set(e,!0);for(var o=[],i=eG(t,o),a=n.props,c=0,s=0;c-1&&!e.return)switch(e.type){case eL:e.return=function e(t,n){switch(45^em(t,0)?(((n<<2^em(t,0))<<2^em(t,1))<<2^em(t,2))<<2^em(t,3):0){case 5103:return eF+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return eF+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eF+t+eI+t+eT+t+t;case 6828:case 4268:return eF+t+eT+t+t;case 6165:return eF+t+eT+"flex-"+t+t;case 5187:return eF+t+ep(t,/(\w+).+(:[^]+)/,eF+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eF+t+eT+"flex-item-"+ep(t,/flex-|-self/,"")+t;case 4675:return eF+t+eT+"flex-line-pack"+ep(t,/align-content|flex-|-self/,"")+t;case 5548:return eF+t+eT+ep(t,"shrink","negative")+t;case 5292:return eF+t+eT+ep(t,"basis","preferred-size")+t;case 6060:return eF+"box-"+ep(t,"-grow","")+eF+t+eT+ep(t,"grow","positive")+t;case 4554:return eF+ep(t,/([^-])(transform)/g,"$1"+eF+"$2")+t;case 6187:return ep(ep(ep(t,/(zoom-|grab)/,eF+"$1"),/(image-set)/,eF+"$1"),t,"")+t;case 5495:case 3959:return ep(t,/(image-set\([^]*)/,eF+"$1$`$1");case 4968:return ep(ep(t,/(.+:)(flex-)?(.*)/,eF+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eF+t+t;case 4095:case 3583:case 4068:case 2532:return ep(t,/(.+)-inline(.+)/,eF+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ey(t)-1-n>6)switch(em(t,n+1)){case 109:if(45!==em(t,n+4))break;case 102:return ep(t,/(.+:)(.+)-([^]+)/,"$1"+eF+"$2-$3$1"+eI+(108==em(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eg(t,"stretch")?e(ep(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==em(t,n+1))break;case 6444:switch(em(t,ey(t)-3-(~eg(t,"!important")&&10))){case 107:return ep(t,":",":"+eF)+t;case 101:return ep(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+eF+(45===em(t,14)?"inline-":"")+"box$3$1"+eF+"$2$3$1"+eT+"$2box$3")+t}break;case 5936:switch(em(t,n+11)){case 114:return eF+t+eT+ep(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eF+t+eT+ep(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eF+t+eT+ep(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return eF+t+eT+t+t}return t}(e.value,e.length);break;case eH:return eD([e$(e,{value:ep(e.value,"@","@"+eF)})],r);case eR:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return eD([e$(e,{props:[ep(t,/:(read-\w+)/,":"+eI+"$1")]})],r);case"::placeholder":return eD([e$(e,{props:[ep(t,/:(plac\w+)/,":"+eF+"input-$1")]}),e$(e,{props:[ep(t,/:(plac\w+)/,":"+eI+"$1")]}),e$(e,{props:[ep(t,/:(plac\w+)/,eT+"input-$1")]})],r)}return""},o.map(i).join("")}}}],eQ=function(e){var t,n,r,o,i,a=e.key;if("css"===a){var c=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(c,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var s=e.stylisPlugins||eY,l={},u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||e_(ek)>3?"":" "}(m);break;case 92:E+=function(e,t){for(var n;--t&&eA()&&!(ek<48)&&!(ek>102)&&(!(ek>57)||!(ek<65))&&(!(ek>70)||!(ek<97)););return n=eS+(t<6&&32==ej()&&32==eA()),ev(eE,e,n)}(eS-1,7);continue;case 47:switch(ej()){case 42:case 47:eb((u=function(e,t){for(;eA();)if(e+ek===57)break;else if(e+ek===84&&47===ej())break;return"/*"+ev(eE,t,eS-1)+"*"+ed(47===e?e:eA())}(eA(),eS),eO(u,n,r,eN,ed(ek),ev(u,2,-2),0)),l);break;default:E+="/"}break;case 123*v:s[f++]=ey(E)*b;case 125*v:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+d:-1==b&&(E=ep(E,/\f/g,"")),g>0&&ey(E)-h&&eb(g>32?eV(E+";",o,r,h-1):eV(ep(E," ","")+";",o,r,h-2),l);break;case 59:E+=";";default:if(eb(k=ez(E,n,r,f,d,i,s,w,C=[],S=[],h),a),123===x)if(0===d)e(E,n,k,k,C,a,h,s,S);else switch(99===p&&110===em(E,3)?100:p){case 100:case 108:case 109:case 115:e(t,k,k,o&&eb(ez(t,k,k,0,0,i,s,w,i,C=[],h),S),i,S,h,s,o?C:S);break;default:e(E,k,k,k,[""],S,0,s,S)}}f=d=g=0,v=b=1,w=E="",h=c;break;case 58:h=1+ey(E),g=m;default:if(v<1){if(123==x)--v;else if(125==x&&0==v++&&125==(ek=eS>0?em(eE,--eS):0,ew--,10===ek&&(ew=1,ex--),ek))continue}switch(E+=ed(x),x*v){case 38:b=d>0?1:(E+="\f",-1);break;case 44:s[f++]=(ey(E)-1)*b,b=1;break;case 64:45===ej()&&(E+=eP(eA())),p=ej(),d=h=ey(w=E+=function(e){for(;!e_(ej());)eA();return ev(eE,e,eS)}(eS)),x++;break;case 45:45===m&&2==ey(E)&&(v=0)}}return a}("",null,null,null,[""],t=eM(t=e),0,[0],t),eE="",n),f)},h={key:a,sheet:new eu({key:a,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:function(e,t,n,r){i=n,d(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)}};return h.sheet.hydrate(u),h},eZ={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},eJ=/[A-Z]|^ms/g,e0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,e1=function(e){return 45===e.charCodeAt(1)},e2=function(e){return null!=e&&"boolean"!=typeof e},e5=($=function(e){return e1(e)?e:e.replace(eJ,"-$&").toLowerCase()},A=Object.create(null),function(e){return void 0===A[e]&&(A[e]=$(e)),A[e]}),e4=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(e0,function(e,t,n){return x={name:t,styles:n,next:x},t})}return 1===eZ[e]||e1(e)||"number"!=typeof t||0===t?t:t+"px"};function e6(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return x={name:n.name,styles:n.styles,next:x},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)x={name:r.name,styles:r.styles,next:x},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(i)+s,styles:i,next:x}}function e9(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var e7=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},te=function(e,t,n){e7(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}};function tt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function tn(e,t,n){var r=[],o=e9(e,r,n);return r.length<2?n:o+t(r)}var tr=function(e){var t=eQ(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=Array(e),r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)};function tz(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}function tV(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var tq="data-rc-order",tW="data-rc-priority",tG=new Map;function tU(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function tK(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function tX(e){return Array.from((tG.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function tY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!tz())return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a="queue"===r?"prependQueue":r?"prepend":"append",c="prependQueue"===a,s=document.createElement("style");s.setAttribute(tq,a),c&&i&&s.setAttribute(tW,"".concat(i)),null!=n&&n.nonce&&(s.nonce=null==n?void 0:n.nonce),s.innerHTML=e;var l=tK(t),u=l.firstChild;if(r){if(c){var f=(t.styles||tX(l)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(tq))&&i>=Number(e.getAttribute(tW)||0)});if(f.length)return l.insertBefore(s,f[f.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function tQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=tK(t);return(t.styles||tX(n)).find(function(n){return n.getAttribute(tU(t))===e})}function tZ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=tQ(e,t);n&&tK(t).removeChild(n)}function tJ(e,t){var n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=tK(i),c=tX(a),s=d(d({},i),{},{styles:c}),l=tG.get(a);if(!l||!tV(document,l)){var u=tY("",s),f=u.parentNode;tG.set(a,f),a.removeChild(u)}var h=tQ(t,s);if(h)return null!=(n=s.csp)&&n.nonce&&h.nonce!==(null==(r=s.csp)?void 0:r.nonce)&&(h.nonce=null==(o=s.csp)?void 0:o.nonce),h.innerHTML!==e&&(h.innerHTML=e),h;var p=tY(e,s);return p.setAttribute(tU(s),t),p}function t0(e,t,n){var r=ei.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var t1={},t2=[];function t5(e,t){}function t4(e,t){}function t6(e,t,n){t||t1[n]||(e(!1,n),t1[n]=!0)}function t3(e,t){t6(t5,e,t)}t3.preMessage=function(e){t2.push(e)},t3.resetWarned=function(){t1={}},t3.noteOnce=function(e,t){t6(t4,e,t)};let t8=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;return function e(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=r.has(t);if(t3(!a,"Warning: There may be circular references"),a)return!1;if(t===o)return!0;if(n&&i>1)return!1;r.add(t);var c=i+1;if(Array.isArray(t)){if(!Array.isArray(o)||t.length!==o.length)return!1;for(var l=0;l1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t;o=null==(t=o)||null==(t=t.map)?void 0:t.get(e)}else o=void 0}),null!=(t=o)&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null==(n=o)?void 0:n.value}},{key:"get",value:function(e){var t;return null==(t=this.internalGet(e,!0))?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var n=tL(e,2)[1];return r.internalGet(t)[1]3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(i)return e;var a=d(d({},o),{},(u(r={},nt,t),u(r,nn,n),r)),c=Object.keys(a).map(function(e){var t=a[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var nx=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},nw=function(e,t,n){var r,o={},i={};return Object.entries(e).forEach(function(e){var t=tL(e,2),r=t[0],a=t[1];if(null!=n&&null!=(c=n.preserve)&&c[r])i[r]=a;else if(("string"==typeof a||"number"==typeof a)&&!(null!=n&&null!=(s=n.ignore)&&s[r])){var c,s,l,u=nx(r,null==n?void 0:n.prefix);o[u]="number"!=typeof a||null!=n&&null!=(l=n.unitless)&&l[r]?String(a):"".concat(a,"px"),i[r]="var(".concat(u,")")}}),[i,(r={scope:null==n?void 0:n.scope},Object.keys(o).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(o).map(function(e){var t=tL(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},nC=tz()?ei.useLayoutEffect:ei.useEffect;let nS=function(e,t){var n=ei.useRef(!0);nC(function(){return e(n.current)},t),nC(function(){return n.current=!1,function(){n.current=!0}},[])};var nk=d({},ei).useInsertionEffect,nE=nk?function(e,t,n){return nk(function(){return e(),t()},n)}:function(e,t,n){ei.useMemo(e,n),nS(function(){return t(!0)},n)},nO=void 0!==d({},ei).useInsertionEffect?function(e){var t=[],n=!1;return ei.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){n||t.push(e)}}:function(){return function(e){e()}};function n$(e,t,n,r,o){var i=ei.useContext(ni).cache,a=t9([e].concat(tD(t))),c=nO([a]),s=function(e){i.opUpdate(a,function(t){var r=tL(t||[void 0,void 0],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i})};ei.useMemo(function(){s()},[a]);var l=i.opGet(a)[1];return nE(function(){null==o||o(l)},function(e){return s(function(t){var n=tL(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(l)),[r+1,i]}),function(){i.opUpdate(a,function(t){var n=tL(t||[],2),o=n[0],s=void 0===o?0:o,l=n[1];return 0==s-1?(c(function(){(e||!i.opGet(a))&&(null==r||r(l,!1))}),null):[s-1,l]})}},[a]),l}var nA={},nj=new Map,n_=function(e,t,n,r){var o=d(d({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o},nM="token";let nP={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var nT="comm",nI="rule",nF="decl",nN=Math.abs,nR=String.fromCharCode;function nL(e,t,n){return e.replace(t,n)}function nH(e,t){return 0|e.charCodeAt(t)}function nD(e,t,n){return e.slice(t,n)}function nB(e){return e.length}function nz(e,t){return t.push(e),e}function nV(e,t){for(var n="",r=0;r0?h[y]+" "+b:nL(b,/&\f/g,h[y])).trim())&&(s[v++]=x);return nQ(e,t,n,0===o?nI:c,s,l,u,f)}function n5(e,t,n,r,o){return nQ(e,t,n,nF,nD(e,0,r),nD(e,r+1,-1),r,o)}var n4="data-ant-cssinjs-cache-path",n6="_FILE_STYLE__",n3=!0,n8="_multi_value_";function n9(e){var t,n,r;return nV((r=function e(t,n,r,o,i,a,c,s,l){for(var u,f,d,h,p,g,m=0,v=0,y=c,b=0,x=0,w=0,C=1,S=1,k=1,E=0,O="",$=i,A=a,j=o,_=O;S;)switch(w=E,E=nZ()){case 40:if(108!=w&&58==nH(_,y-1)){-1!=(p=_+=nL(n1(E),"&","&\f"),g=nN(m?s[m-1]:0),p.indexOf("&\f",g))&&(k=-1);break}case 34:case 39:case 91:_+=n1(E);break;case 9:case 10:case 13:case 32:_+=function(e){for(;nX=nJ();)if(nX<33)nZ();else break;return n0(e)>2||n0(nX)>3?"":" "}(w);break;case 92:_+=function(e,t){for(var n;--t&&nZ()&&!(nX<48)&&!(nX>102)&&(!(nX>57)||!(nX<65))&&(!(nX>70)||!(nX<97)););return n=nK+(t<6&&32==nJ()&&32==nZ()),nD(nY,e,n)}(nK-1,7);continue;case 47:switch(nJ()){case 42:case 47:nz((u=function(e,t){for(;nZ();)if(e+nX===57)break;else if(e+nX===84&&47===nJ())break;return"/*"+nD(nY,t,nK-1)+"*"+nR(47===e?e:nZ())}(nZ(),nK),f=n,d=r,h=l,nQ(u,f,d,nT,nR(nX),nD(u,2,-2),0,h)),l),(5==n0(w||1)||5==n0(nJ()||1))&&nB(_)&&" "!==nD(_,-1,void 0)&&(_+=" ");break;default:_+="/"}break;case 123*C:s[m++]=nB(_)*k;case 125*C:case 59:case 0:switch(E){case 0:case 125:S=0;case 59+v:-1==k&&(_=nL(_,/\f/g,"")),x>0&&(nB(_)-y||0===C&&47===w)&&nz(x>32?n5(_+";",o,r,y-1,l):n5(nL(_," ","")+";",o,r,y-2,l),l);break;case 59:_+=";";default:if(nz(j=n2(_,n,r,m,v,i,s,O,$=[],A=[],y,a),a),123===E)if(0===v)e(_,n,j,j,$,a,y,s,A);else{switch(b){case 99:if(110===nH(_,3))break;case 108:if(97===nH(_,2))break;default:v=0;case 100:case 109:case 115:}v?e(t,j,j,o&&nz(n2(t,j,j,0,0,i,s,O,i,$=[],y,A),A),i,A,y,s,o?$:A):e(_,j,j,j,[""],A,0,s,A)}}m=v=x=0,C=k=1,O=_="",y=c;break;case 58:y=1+nB(_),x=w;default:if(C<1){if(123==E)--C;else if(125==E&&0==C++&&125==(nX=nK>0?nH(nY,--nK):0,nG--,10===nX&&(nG=1,nW--),nX))continue}switch(_+=nR(E),E*C){case 38:k=v>0?1:(_+="\f",-1);break;case 44:s[m++]=(nB(_)-1)*k,k=1;break;case 64:45===nJ()&&(_+=n1(nZ())),b=nJ(),v=y=nB(O=_+=function(e){for(;!n0(nJ());)nZ();return nD(nY,e,nK)}(nK)),E++;break;case 45:45===w&&2==nB(_)&&(C=0)}}return a}("",null,null,null,[""],(n=t=e,nW=nG=1,nU=nB(nY=n),nK=0,t=[]),0,[0],t),nY="",r),nq).replace(/\{%%%\:[^;];}/g,";")}function n7(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null==(t=r.match(/^\w+/))?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(tD(n.slice(1))).join(" ")}).join(",")}var re=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,c=n.hashId,l=n.layer,u=(n.path,n.hashPriority),f=n.transformers,h=void 0===f?[]:f,p=(n.linters,""),g={};function m(t){var r=t.getName(c);if(!g[r]){var o=tL(e(t.style,n,{root:!1,parentSelectors:a}),1)[0];g[r]="@keyframes ".concat(t.getName(c)).concat(o)}}return(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,n):t&&n.push(t)}),n})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)p+="".concat(r,"\n");else if(r._keyframe)m(r);else{var l=h.reduce(function(e,t){var n;return(null==t||null==(n=t.visit)?void 0:n.call(t,e))||e},r);Object.keys(l).forEach(function(t){var r=l[t];if("object"!==s(r)||!r||"animationName"===t&&r._keyframe||"object"===s(r)&&r&&("_skip_check_"in r||n8 in r)){function f(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;nP[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),r=t.getName(c)),p+="".concat(n,":").concat(r,";")}var h,v=null!=(h=null==r?void 0:r.value)?h:r;"object"===s(r)&&null!=r&&r[n8]&&Array.isArray(v)?v.forEach(function(e){f(t,e)}):f(t,v)}else{var y=!1,b=t.trim(),x=!1;(o||i)&&c?b.startsWith("@")?y=!0:b="&"===b?n7("",c,u):n7(t,c,u):o&&!c&&("&"===b||""===b)&&(b="",x=!0);var w=tL(e(r,n,{root:x,injectHash:y,parentSelectors:[].concat(tD(a),[b])}),2),C=w[0],S=w[1];g=d(d({},g),S),p+="".concat(b).concat(C)}})}}),o?l&&(p&&(p="@layer ".concat(l.name," {").concat(p,"}")),l.dependencies&&(g["@layer ".concat(l.name)]=l.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(l.name,";")}).join("\n"))):p="{".concat(p,"}"),[p,g]};function rt(e,t){return tB("".concat(e.join("%")).concat(t))}function rn(){return null}var rr="style";function ro(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,c=e.clientOnly,s=e.order,l=void 0===s?0:s,f=ei.useContext(ni),h=f.autoClear,p=(f.mock,f.defaultCache),g=f.hashPriority,m=f.container,v=f.ssrInline,y=f.transformers,b=f.linters,x=f.cache,C=f.layer,S=n._tokenKey,k=[S];C&&k.push("layer"),k.push.apply(k,tD(r));var E=n$(rr,k,function(){var e=k.join("|");if(function(e){if(!w&&(w={},tz())){var t,n=document.createElement("div");n.className=n4,n.style.position="fixed",n.style.visibility="hidden",n.style.top="-9999px",document.body.appendChild(n);var r=getComputedStyle(n).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=tL(e.split(":"),2),n=t[0],r=t[1];w[n]=r});var o=document.querySelector("style[".concat(n4,"]"));o&&(n3=!1,null==(t=o.parentNode)||t.removeChild(o)),document.body.removeChild(n)}return!!w[e]}(e)){var n=tL(function(e){var t=w[e],n=null;if(t&&tz())if(n3)n=n6;else{var r=document.querySelector("style[".concat(nn,'="').concat(w[e],'"]'));r?n=r.innerHTML:delete w[e]}return[n,t]}(e),2),a=n[0],s=n[1];if(a)return[a,S,s,{},c,l]}var u=tL(re(t(),{hashId:o,hashPriority:g,layer:C?i:void 0,path:r.join("-"),transformers:y,linters:b}),2),f=u[0],d=u[1],h=n9(f),p=rt(k,h);return[h,S,p,d,c,l]},function(e,t){var n=tL(e,3)[2];(t||h)&&nv&&tZ(n,{mark:nn})},function(e){var t=tL(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(nv&&n!==n6){var i={mark:nn,prepend:!C&&"queue",attachTo:m,priority:l},c="function"==typeof a?a():a;c&&(i.csp={nonce:c});var s=[],u=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?s.push(e):u.push(e)}),s.forEach(function(e){tJ(n9(o[e]),"_layer-".concat(e),d(d({},i),{},{prepend:!0}))});var f=tJ(n,r,i);f[nr]=x.instanceId,f.setAttribute(nt,S),u.forEach(function(e){tJ(n9(o[e]),"_effect-".concat(e),i)})}}),O=tL(E,3),$=O[0],A=O[1],j=O[2];return function(e){var t,n;return t=v&&!nv&&p?ei.createElement("style",tm({},(u(n={},nt,A),u(n,nn,j),n),{dangerouslySetInnerHTML:{__html:$}})):ei.createElement(rn,null),ei.createElement(ei.Fragment,null,t,e)}}var ri="cssVar";let ra=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,i=e.ignore,a=e.token,c=e.scope,s=void 0===c?"":c,l=(0,ei.useContext)(ni),u=l.cache.instanceId,f=l.container,d=a._tokenKey,h=[].concat(tD(e.path),[n,s,d]);return n$(ri,h,function(){var e=tL(nw(t(),n,{prefix:r,unitless:o,ignore:i,scope:s}),2),a=e[0],c=e[1],l=rt(h,c);return[a,c,l,n]},function(e){var t=tL(e,3)[2];nv&&tZ(t,{mark:nn})},function(e){var t=tL(e,3),r=t[1],o=t[2];if(r){var i=tJ(r,o,{mark:nn,prepend:"queue",attachTo:f,priority:-999});i[nr]=u,i.setAttribute(nt,n)}})};u(C={},rr,function(e,t,n){var r=tL(e,6),o=r[0],i=r[1],a=r[2],c=r[3],s=r[4],l=r[5],u=(n||{}).plain;if(s)return null;var f=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l)};return f=nb(o,i,a,d,u),c&&Object.keys(c).forEach(function(e){if(!t[e]){t[e]=!0;var n=nb(n9(c[e]),i,"_effect-".concat(e),d,u);e.startsWith("@layer")?f=n+f:f+=n}}),[l,a,f]}),u(C,nM,function(e,t,n){var r=tL(e,5),o=r[2],i=r[3],a=r[4],c=(n||{}).plain;if(!i)return null;var s=o._tokenKey,l=nb(i,a,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},c);return[-999,s,l]}),u(C,ri,function(e,t,n){var r=tL(e,4),o=r[1],i=r[2],a=r[3],c=(n||{}).plain;if(!o)return null;var s=nb(o,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},c);return[-999,i,s]});var rc=function(){function e(t,n){ec(this,e),u(this,"name",void 0),u(this,"style",void 0),u(this,"_keyframe",!0),this.name=t,this.style=n}return el(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function rs(e){return e.notSplit=!0,e}rs(["borderTop","borderBottom"]),rs(["borderTop"]),rs(["borderBottom"]),rs(["borderLeft","borderRight"]),rs(["borderLeft"]),rs(["borderRight"]);var rl=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"];let ru=Math.round;function rf(e,t){let n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let rd=(e,t,n)=>0===n?e:e/100;function rh(e,t){let n=t||255;return e>n?n:e<0?0:e}class rp{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(u(this,"isValid",!0),u(this,"r",0),u(this,"g",0),u(this,"b",0),u(this,"a",1),u(this,"_h",void 0),u(this,"_s",void 0),u(this,"_l",void 0),u(this,"_v",void 0),u(this,"_max",void 0),u(this,"_min",void 0),u(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function n(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):n("rgb")?this.fromRgbString(t):n("hsl")?this.fromHslString(t):(n("hsv")||n("hsb"))&&this.fromHsvString(t)}else if(e instanceof rp)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=rh(e.r),this.g=rh(e.g),this.b=rh(e.b),this.a="number"==typeof e.a?rh(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=ru(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){let n=this._c(e),r=t/100,o=e=>(n[e]-this[e])*r+this[e],i={r:ru(o("r")),g:ru(o("g")),b:ru(o("b")),a:ru(100*o("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>ru((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=ru(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=ru(100*this.getSaturation()),n=ru(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){let r=this.clone();return r[e]=rh(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){let e=ru(255*n);this.r=e,this.g=e,this.b=e}let o=0,i=0,a=0,c=e/60,s=(1-Math.abs(2*n-1))*t,l=s*(1-Math.abs(c%2-1));c>=0&&c<1?(o=s,i=l):c>=1&&c<2?(o=l,i=s):c>=2&&c<3?(i=s,a=l):c>=3&&c<4?(i=l,a=s):c>=4&&c<5?(o=l,a=s):c>=5&&c<6&&(o=s,a=l);let u=n-s/2;this.r=ru((o+u)*255),this.g=ru((i+u)*255),this.b=ru((a+u)*255)}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;let o=ru(255*n);if(this.r=o,this.g=o,this.b=o,t<=0)return;let i=e/60,a=Math.floor(i),c=i-a,s=ru(n*(1-t)*255),l=ru(n*(1-t*c)*255),u=ru(n*(1-t*(1-c))*255);switch(a){case 0:this.g=u,this.b=s;break;case 1:this.r=l,this.b=s;break;case 2:this.r=s,this.b=u;break;case 3:this.r=s,this.g=l;break;case 4:this.r=u,this.g=s;break;default:this.g=s,this.b=l}}fromHsvString(e){let t=rf(e,rd);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=rf(e,rd);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=rf(e,(e,t)=>t.includes("%")?ru(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var rg=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function rm(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function rv(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function ry(e,t,n){var r;return Math.round(100*Math.max(0,Math.min(1,n?e.v+.05*t:e.v-.15*t)))/100}function rb(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new rp(e),o=r.toHsv(),i=5;i>0;i-=1){var a=new rp({h:rm(o,i,!0),s:rv(o,i,!0),v:ry(o,i,!0)});n.push(a)}n.push(r);for(var c=1;c<=4;c+=1){var s=new rp({h:rm(o,c),s:rv(o,c),v:ry(o,c)});n.push(s)}return"dark"===t.theme?rg.map(function(e){var r=e.index,o=e.amount;return new rp(t.backgroundColor||"#141414").mix(n[r],o).toHexString()}):n.map(function(e){return e.toHexString()})}var rx={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},rw=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];rw.primary=rw[5];var rC=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];rC.primary=rC[5];var rS=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];rS.primary=rS[5];var rk=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];rk.primary=rk[5];var rE=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];rE.primary=rE[5];var rO=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];rO.primary=rO[5];var r$=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];r$.primary=r$[5];var rA=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];rA.primary=rA[5];var rj=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];rj.primary=rj[5];var r_=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];r_.primary=r_[5];var rM=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];rM.primary=rM[5];var rP=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];rP.primary=rP[5];var rT=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];rT.primary=rT[5];var rI={red:rw,volcano:rC,orange:rS,gold:rk,yellow:rE,lime:rO,green:r$,cyan:rA,blue:rj,geekblue:r_,purple:rM,magenta:rP,grey:rT},rF=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];rF.primary=rF[5];var rN=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];rN.primary=rN[5];var rR=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];rR.primary=rR[5];var rL=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];rL.primary=rL[5];var rH=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];rH.primary=rH[5];var rD=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];rD.primary=rD[5];var rB=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];rB.primary=rB[5];var rz=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];rz.primary=rz[5];var rV=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];rV.primary=rV[5];var rq=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];rq.primary=rq[5];var rW=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];rW.primary=rW[5];var rG=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];rG.primary=rG[5];var rU=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];rU.primary=rU[5];let rK={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},rX=Object.assign(Object.assign({},rK),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function rY(e,t){"string"==typeof(n=e)&&-1!==n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n,r,o="string"==typeof(r=e)&&-1!==r.indexOf("%");return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),o&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function rQ(e){return Math.min(1,Math.max(0,e))}function rZ(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function rJ(e){return e<=1?"".concat(100*Number(e),"%"):e}function r0(e){return 1===e.length?"0"+e:String(e)}function r1(e,t,n){e=rY(e,255);var r=Math.max(e,t=rY(t,255),n=rY(n,255)),o=Math.min(e,t,n),i=0,a=0,c=(r+o)/2;if(r===o)a=0,i=0;else{var s=r-o;switch(a=c>.5?s/(2-r-o):s/(r+o),r){case e:i=(t-n)/s+6*(t1&&(n-=1),n<1/6)?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r5(e,t,n){e=rY(e,255);var r=Math.max(e,t=rY(t,255),n=rY(n,255)),o=Math.min(e,t,n),i=0,a=r-o;if(r===o)i=0;else{switch(r){case e:i=(t-n)/a+6*(t>16,g:(65280&S)>>8,b:255&S}),this.originalInput=t;var r,o,i,a,c,s,l,u,f,d,h,p,g,m,v,y,b,x,w,C,S,k,E=(m={r:0,g:0,b:0},v=1,y=null,b=null,x=null,w=!1,C=!1,"string"==typeof(r=t)&&(r=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(r3[e])e=r3[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=oe.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=oe.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=oe.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=oe.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=oe.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=oe.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=oe.hex8.exec(e))?{r:r6(n[1]),g:r6(n[2]),b:r6(n[3]),a:r6(n[4])/255,format:t?"name":"hex8"}:(n=oe.hex6.exec(e))?{r:r6(n[1]),g:r6(n[2]),b:r6(n[3]),format:t?"name":"hex"}:(n=oe.hex4.exec(e))?{r:r6(n[1]+n[1]),g:r6(n[2]+n[2]),b:r6(n[3]+n[3]),a:r6(n[4]+n[4])/255,format:t?"name":"hex8"}:!!(n=oe.hex3.exec(e))&&{r:r6(n[1]+n[1]),g:r6(n[2]+n[2]),b:r6(n[3]+n[3]),format:t?"name":"hex"}}(r)),"object"==typeof r&&(ot(r.r)&&ot(r.g)&&ot(r.b)?(o=r.r,i=r.g,a=r.b,m={r:255*rY(o,255),g:255*rY(i,255),b:255*rY(a,255)},w=!0,C="%"===String(r.r).substr(-1)?"prgb":"rgb"):ot(r.h)&&ot(r.s)&&ot(r.v)?(y=rJ(r.s),b=rJ(r.v),c=r.h,s=y,l=b,c=6*rY(c,360),s=rY(s,100),l=rY(l,100),u=Math.floor(c),f=c-u,d=l*(1-s),h=l*(1-f*s),p=l*(1-(1-f)*s),m={r:255*[l,h,d,d,p,l][g=u%6],g:255*[p,l,l,h,d,d][g],b:255*[d,d,p,l,l,h][g]},w=!0,C="hsv"):ot(r.h)&&ot(r.s)&&ot(r.l)&&(y=rJ(r.s),x=rJ(r.l),m=function(e,t,n){if(e=rY(e,360),t=rY(t,100),n=rY(n,100),0===t)o=n,i=n,r=n;else{var r,o,i,a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;r=r2(c,a,e+1/3),o=r2(c,a,e),i=r2(c,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(r.h,y,x),w=!0,C="hsl"),Object.prototype.hasOwnProperty.call(r,"a")&&(v=r.a)),v=rZ(v),{ok:w,format:r.format||C,r:Math.min(255,Math.max(m.r,0)),g:Math.min(255,Math.max(m.g,0)),b:Math.min(255,Math.max(m.b,0)),a:v});this.originalInput=t,this.r=E.r,this.g=E.g,this.b=E.b,this.a=E.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(k=n.format)?k:E.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=E.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,i=r.g/255,a=r.b/255;return .2126*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=rZ(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=r5(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=r5(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=r1(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=r1(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),r4(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){var t,n,r,o,i,a;return void 0===e&&(e=!1),t=this.r,n=this.g,r=this.b,o=this.a,i=e,a=[r0(Math.round(t).toString(16)),r0(Math.round(n).toString(16)),r0(Math.round(r).toString(16)),r0(Math.round(255*parseFloat(o)).toString(16))],i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*rY(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*rY(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+r4(this.r,this.g,this.b,!1),t=0,n=Object.entries(r3);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=rQ(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(t/100*255)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(t/100*255)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(t/100*255)))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=rQ(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=rQ(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=rQ(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},oi=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},oa=e=>{let t=function(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(Math.E,(n-1)/5);return 2*Math.floor((n>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),n=t.map(e=>e.size),r=t.map(e=>e.lineHeight),o=n[1],i=n[0],a=n[2],c=r[1],s=r[0],l=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:l,lineHeightSM:s,fontHeight:Math.round(c*o),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},oc=(e,t)=>new on(e).setAlpha(t).toRgbString(),os=(e,t)=>new on(e).darken(t).toHexString(),ol=e=>{let t=rb(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},ou=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:oc(r,.88),colorTextSecondary:oc(r,.65),colorTextTertiary:oc(r,.45),colorTextQuaternary:oc(r,.25),colorFill:oc(r,.15),colorFillSecondary:oc(r,.06),colorFillTertiary:oc(r,.04),colorFillQuaternary:oc(r,.02),colorBgSolid:oc(r,1),colorBgSolidHover:oc(r,.75),colorBgSolidActive:oc(r,.95),colorBgLayout:os(n,4),colorBgContainer:os(n,0),colorBgElevated:os(n,0),colorBgSpotlight:oc(r,.85),colorBgBlur:"transparent",colorBorder:os(n,15),colorBorderSecondary:os(n,6)}};function of(e){rx.pink=rx.magenta,rI.pink=rI.magenta;let t=Object.keys(rK).map(t=>{let n=e[t]===rx[t]?rI[t]:rb(e[t]);return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),or(e,{generateColorPalettes:ol,generateNeutralColorPalettes:ou})),oa(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),oi(e)),function(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},oo(r))}(e))}function od(e){return e>=0&&e<=255}let oh=function(e,t){let{r:n,g:r,b:o,a:i}=new on(e).toRgb();if(i<1)return e;let{r:a,g:c,b:s}=new on(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-a*(1-e))/e),i=Math.round((r-c*(1-e))/e),l=Math.round((o-s*(1-e))/e);if(od(t)&&od(i)&&od(l))return new on({r:t,g:i,b:l,a:Math.round(100*e)/100}).toRgbString()}return new on({r:n,g:r,b:o,a:1}).toRgbString()};var op=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function og(e){let{override:t}=e,n=op(e,["override"]),r=Object.assign({},t);Object.keys(rX).forEach(e=>{delete r[e]});let o=Object.assign(Object.assign({},n),r);return!1===o.motion&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:oh(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:oh(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:oh(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:3*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:oh(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new on("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new on("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new on("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}let om=nf(of),ov={token:rX,override:{override:rX},hashed:!0},oy=ea().createContext(ov);var ob=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ox={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},ow={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},oC={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},oS=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=ob(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=og(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=ob(n,["theme"]),i=o;r&&(i=oS(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function ok(){let{token:e,hashed:t,theme:n,override:r,cssVar:o}=ea().useContext(oy),i=n||om,[a,c,s]=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,ei.useContext)(ni),o=r.cache.instanceId,i=r.container,a=n.salt,c=void 0===a?"":a,s=n.override,l=void 0===s?nA:s,u=n.formatToken,f=n.getComputedToken,h=n.cssVar,p=function(e,t){for(var n=nd,r=0;r=(nj.get(e)||0)}),n.length-r.length>0&&r.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(nt,'="').concat(e,'"]')).forEach(function(e){if(e[nr]===o){var t;null==(t=e.parentNode)||t.removeChild(e)}}),nj.delete(e)})},function(e){var t=tL(e,4),n=t[0],r=t[3];if(h&&r){var a=tJ(r,tB("css-variables-".concat(n._themeKey)),{mark:nn,prepend:"queue",attachTo:i,priority:-999});a[nr]=o,a.setAttribute(nt,n._themeKey)}})}(i,[rX,e],{salt:`5.22.7-${t||""}`,override:r,getComputedToken:oS,formatToken:og,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:ox,ignore:ow,preserve:oC}});return[i,s,t?c:"",a,o]}let oE=(e,t)=>new on(e).setAlpha(t).toRgbString(),oO=(e,t)=>new on(e).lighten(t).toHexString(),o$=e=>{let t=rb(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},oA=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:oE(r,.85),colorTextSecondary:oE(r,.65),colorTextTertiary:oE(r,.45),colorTextQuaternary:oE(r,.25),colorFill:oE(r,.18),colorFillSecondary:oE(r,.12),colorFillTertiary:oE(r,.08),colorFillQuaternary:oE(r,.04),colorBgSolid:oE(r,.95),colorBgSolidHover:oE(r,1),colorBgSolidActive:oE(r,.9),colorBgElevated:oO(n,12),colorBgContainer:oO(n,8),colorBgLayout:oO(n,0),colorBgSpotlight:oO(n,26),colorBgBlur:oE(r,.04),colorBorder:oO(n,26),colorBorderSecondary:oO(n,19)}},oj={defaultSeed:ov.token,useToken:function(){let[e,t,n]=ok();return{theme:e,token:t,hashId:n}},defaultAlgorithm:of,darkAlgorithm:(e,t)=>{let n=Object.keys(rK).map(t=>{let n=rb(e[t],{theme:"dark"});return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign({},null!=t?t:of(e)),n),or(e,{generateColorPalettes:o$,generateNeutralColorPalettes:oA}))},compactAlgorithm:(e,t)=>{let n=null!=t?t:of(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){let{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),oa(r)),{controlHeight:o}),oi(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{let t=(null==e?void 0:e.algorithm)?nf(e.algorithm):nf(of);return n_(Object.assign(Object.assign({},rX),null==e?void 0:e.token),{override:null==e?void 0:e.token},t,og)},defaultConfig:ov,_internalContext:oy};var o_=function(){return oj.useToken().token},oM=function(){var e=o_(),t={xs:"@media (max-width: ".concat(e.screenXSMax,"px)"),sm:"@media (max-width: ".concat(e.screenSMMax,"px)"),md:"@media (max-width: ".concat(e.screenMDMax,"px)"),lg:"@media (max-width: ".concat(e.screenLGMax,"px)"),xl:"@media (max-width: ".concat(e.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(e.screenXXLMin,"px)")};return(0,ei.useMemo)(function(){return d(d({},t),{},{mobile:t.xs,tablet:t.md,laptop:t.lg,desktop:t.xxl})},[e])},oP=["stylish","appearance","isDarkMode","prefixCls","iconPrefixCls"],oT=["prefixCls","iconPrefixCls"],oI=function(e){var t=ei.useContext(tS);return e.theme!==t&&(t=tk(t)(e.theme)),ei.createElement(tS.Provider,{value:t},e.children)},oF=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(e){return(0,tP.jsx)(t.Provider,{value:e.theme,children:e.children})}};let oN=ea().createContext({}),oR="anticon",oL=ei.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:oR}),{Consumer:oH}=oL;var oD=(0,ei.createContext)({});function oB(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!oB(e,t.slice(0,-1))?e:function e(t,n,r,o){if(!n.length)return r;var i,a=tI(n)||tH(n)||tN(n)||tR(),c=a[0],s=a.slice(1);return i=t||"number"!=typeof c?Array.isArray(t)?tD(t):d({},t):[],o&&void 0===r&&1===s.length?delete i[c][s[0]]:i[c]=e(i[c],s,r,o),i}(e,t,n,r)}function oV(e){return Array.isArray(e)?[]:{}}var oq="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function oW(){for(var e=arguments.length,t=Array(e),n=0;n{let e=()=>{};return e.deprecated=oG,e},oX=(0,ei.createContext)(void 0);var oY=d(d({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});let oQ={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},oZ={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},oY),timePickerLocale:Object.assign({},oQ)},oJ="${label} is not a valid ${type}",o0={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:oZ,TimePicker:oQ,Calendar:oZ,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:oJ,method:oJ,array:oJ,object:oJ,number:oJ,date:oJ,boolean:oJ,integer:oJ,float:oJ,regexp:oJ,email:oJ,url:oJ,hex:oJ},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},o1=Object.assign({},o0.Modal),o2=[],o5=()=>o2.reduce((e,t)=>Object.assign(Object.assign({},e),t),o0.Modal),o4=(0,ei.createContext)(void 0),o6=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;ei.useEffect(()=>(function(e){if(e){let t=Object.assign({},e);return o2.push(t),o1=o5(),()=>{o2=o2.filter(e=>e!==t),o1=o5()}}o1=Object.assign({},o0.Modal)})(null==t?void 0:t.Modal),[t]);let o=ei.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return ei.createElement(o4.Provider,{value:o},n)},o3=`-ant-${Date.now()}-${Math.random()}`,o8=ei.createContext(!1),o9=e=>{let{children:t,disabled:n}=e,r=ei.useContext(o8);return ei.createElement(o8.Provider,{value:null!=n?n:r},t)},o7=ei.createContext(void 0),ie=e=>{let{children:t,size:n}=e,r=ei.useContext(o7);return ei.createElement(o7.Provider,{value:n||r},t)},{useId:it}=Object.assign({},ei),ir=void 0===it?()=>"":it;var io=n(3387),ii=n.n(io),ia=n(7599),ic=n.n(ia);function is(e){return e instanceof HTMLElement||e instanceof SVGElement}var il=n(1805),iu=Symbol.for("react.element"),id=Symbol.for("react.transitional.element"),ih=Symbol.for("react.fragment");function ip(e){return e&&"object"===s(e)&&(e.$$typeof===iu||e.$$typeof===id)&&e.type===ih}var ig=Number(ei.version.split(".")[0]),im=function(e,t){"function"==typeof e?e(t):"object"===s(e)&&e&&"current"in e&&(e.current=t)},iv=function(){for(var e=arguments.length,t=Array(e),n=0;n=19)return!0;var t,n,r=(0,il.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||!!(null!=(t=r.prototype)&&t.render)||r.$$typeof===il.ForwardRef)&&("function"!=typeof e||!!(null!=(n=e.prototype)&&n.render)||e.$$typeof===il.ForwardRef)};function ix(e){return(0,ei.isValidElement)(e)&&!ip(e)}var iw=function(e){return e&&ix(e)?e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref:null},iC=["children"],iS=ei.createContext({});function ik(e){var t=e.children,n=tT(e,iC);return ei.createElement(iS.Provider,{value:n},t)}function iE(e,t){return(iE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function iO(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iE(e,t)}function i$(e){return(i$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function iA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iA=function(){return!!e})()}function ij(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i_(e){var t=iA();return function(){var n,r=i$(e);n=t?Reflect.construct(r,arguments,i$(this).constructor):r.apply(this,arguments);if(n&&("object"==s(n)||"function"==typeof n))return n;if(void 0!==n)throw TypeError("Derived constructors may only return object or undefined");return ij(this)}}var iM=function(e){iO(n,e);var t=i_(n);function n(){return ec(this,n),t.apply(this,arguments)}return el(n,[{key:"render",value:function(){return this.props.children}}]),n}(ei.Component);function iP(e){var t=ei.useRef();return t.current=e,ei.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:1,n=i4+=1;return!function t(r){if(0===r)i6.delete(n),e();else{var o=i2(function(){t(r-1)});i6.set(n,o)}}(t),n};i3.cancel=function(e){var t=i6.get(e);return i6.delete(e),i5(t)};let i8=function(){var e=ei.useRef(null);function t(){i3.cancel(e.current)}return ei.useEffect(function(){return function(){t()}},[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=i3(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]};var i9=[iH,iD,iB,"end"],i7=[iH,iz];function ae(e){return e===iB||"end"===e}let at=function(e,t,n){var r=tL(iT(iL),2),o=r[0],i=r[1],a=tL(i8(),2),c=a[0],s=a[1],l=t?i7:i9;return i1(function(){if(o!==iL&&"end"!==o){var e=l.indexOf(o),t=l[e+1],r=n(o);!1===r?i(t,!0):t&&c(function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,o]),ei.useEffect(function(){return function(){s()}},[]),[function(){i(iH,!0)},o]},an=(I=iY,"object"===s(iY)&&(I=iY.transitionSupport),(F=ei.forwardRef(function(e,t){var n=e.visible,r=void 0===n||n,o=e.removeOnLeave,i=void 0===o||o,a=e.forceRender,c=e.children,l=e.motionName,f=e.leavedClassName,h=e.eventProps,p=ei.useContext(iS).motion,g=!!(e.motionName&&I&&!1!==p),m=(0,ei.useRef)(),v=(0,ei.useRef)(),y=function(e,t,n,r){var o,i,a=r.motionEnter,c=void 0===a||a,s=r.motionAppear,l=void 0===s||s,f=r.motionLeave,h=void 0===f||f,p=r.motionDeadline,g=r.motionLeaveImmediately,m=r.onAppearPrepare,v=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,x=r.onEnterStart,w=r.onLeaveStart,C=r.onAppearActive,S=r.onEnterActive,k=r.onLeaveActive,E=r.onAppearEnd,O=r.onEnterEnd,$=r.onLeaveEnd,A=r.onVisibleChanged,j=tL(iT(),2),_=j[0],M=j[1],P=(o=tL(ei.useReducer(function(e){return e+1},0),2)[1],i=ei.useRef(iI),[iP(function(){return i.current}),iP(function(e){i.current="function"==typeof e?e(i.current):e,o()})]),T=tL(P,2),I=T[0],F=T[1],N=tL(iT(null),2),R=N[0],L=N[1],H=I(),D=(0,ei.useRef)(!1),B=(0,ei.useRef)(null),z=(0,ei.useRef)(!1);function V(){F(iI),L(null,!0)}var q=iP(function(e){var t,r=I();if(r!==iI){var o=n();if(!e||e.deadline||e.target===o){var i=z.current;r===iF&&i?t=null==E?void 0:E(o,e):r===iN&&i?t=null==O?void 0:O(o,e):r===iR&&i&&(t=null==$?void 0:$(o,e)),i&&!1!==t&&V()}}}),W=tL(i0(q),1)[0],G=function(e){switch(e){case iF:return u(u(u({},iH,m),iD,b),iB,C);case iN:return u(u(u({},iH,v),iD,x),iB,S);case iR:return u(u(u({},iH,y),iD,w),iB,k);default:return{}}},U=ei.useMemo(function(){return G(H)},[H]),K=tL(at(H,!e,function(e){if(e===iH){var t,r=U[iH];return!!r&&r(n())}return Y in U&&L((null==(t=U[Y])?void 0:t.call(U,n(),null))||null),Y===iB&&H!==iI&&(W(n()),p>0&&(clearTimeout(B.current),B.current=setTimeout(function(){q({deadline:!0})},p))),Y===iz&&V(),!0}),2),X=K[0],Y=K[1];z.current=ae(Y);var Q=(0,ei.useRef)(null);i1(function(){if(!D.current||Q.current!==t){M(t);var n,r=D.current;D.current=!0,!r&&t&&l&&(n=iF),r&&t&&c&&(n=iN),(r&&!t&&h||!r&&g&&!t&&h)&&(n=iR);var o=G(n);n&&(e||o[iH])?(F(n),X()):F(iI),Q.current=t}},[t]),(0,ei.useEffect)(function(){(H!==iF||l)&&(H!==iN||c)&&(H!==iR||h)||F(iI)},[l,c,h]),(0,ei.useEffect)(function(){return function(){D.current=!1,clearTimeout(B.current)}},[]);var Z=ei.useRef(!1);(0,ei.useEffect)(function(){_&&(Z.current=!0),void 0!==_&&H===iI&&((Z.current||_)&&(null==A||A(_)),Z.current=!0)},[_,H]);var J=R;return U[iH]&&Y===iD&&(J=d({transition:"none"},J)),[H,Y,J,null!=_?_:t]}(g,r,function(){try{var e,t,n,r;return m.current instanceof HTMLElement?m.current:(r=(t=e=v.current)&&"object"===s(t)&&is(t.nativeElement)?t.nativeElement:is(t)?t:null)?r:e instanceof ea().Component?null==(n=ic().findDOMNode)?void 0:n.call(ic(),e):null}catch(e){return null}},e),b=tL(y,4),x=b[0],w=b[1],C=b[2],S=b[3],k=ei.useRef(S);S&&(k.current=!0);var E=ei.useCallback(function(e){m.current=e,im(t,e)},[t]),O=d(d({},h),{},{visible:r});if(c)if(x===iI)$=S?c(d({},O),E):!i&&k.current&&f?c(d(d({},O),{},{className:f}),E):!a&&(i||f)?null:c(d(d({},O),{},{style:{display:"none"}}),E);else{w===iH?A="prepare":ae(w)?A="active":w===iD&&(A="start");var $,A,j=iJ(l,"".concat(x,"-").concat(A));$=c(d(d({},O),{},{className:ii()(iJ(l,x),u(u({},j,j&&A),l,"string"==typeof l)),style:C}),E)}else $=null;return ei.isValidElement($)&&ib($)&&(iw($)||($=ei.cloneElement($,{ref:E}))),ei.createElement(iM,{ref:v},$)})).displayName="CSSMotion",F);var ar="keep",ao="remove",ai="removed";function aa(e){var t;return d(d({},t=e&&"object"===s(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function ac(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(aa)}var as=["component","children","onVisibleChanged","onAllRemoved"],al=["status"],au=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];let af=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:an,n=function(e){iO(r,e);var n=i_(r);function r(){var e;ec(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=ac(e),a=ac(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==ao})).forEach(function(t){t.key===e&&(t.status=ar)})}),n})(r,ac(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==ai||e.status!==ao})}}}]),r}(ei.Component);return u(n,"defaultProps",{component:"div"}),n}(iY);function ad(e){let{children:t}=e,[,n]=ok(),{motion:r}=n,o=ei.useRef(!1);return(o.current=o.current||!1===r,o.current)?ei.createElement(ik,{motion:r},t):t}let ah=()=>null,ap=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},ag=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),am=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),av=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),ay=e=>({outline:`${ny(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ab=e=>({"&:focus-visible":Object.assign({},ay(e))}),ax=e=>({[`.${e}`]:Object.assign(Object.assign({},ag()),{[`.${e} .${e}-icon`]:{display:"block"}})}),aw=(e,t)=>{let[n,r]=ok();return ro({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},()=>[ax(e)])};var aC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let aS=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function ak(){return r||"ant"}function aE(){return o||oR}let aO=()=>({getPrefixCls:(e,t)=>t||(e?`${ak()}-${e}`:ak()),getIconPrefixCls:aE,getRootPrefixCls:()=>r||ak(),getTheme:()=>i,holderRender:a}),a$=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:c,componentSize:s,direction:l,space:u,splitter:f,virtual:d,dropdownMatchSelectWidth:h,popupMatchSelectWidth:p,popupOverflow:g,legacyLocale:m,parentContext:v,iconPrefixCls:y,theme:b,componentDisabled:x,segmented:w,statistic:C,spin:S,calendar:k,carousel:E,cascader:O,collapse:$,typography:A,checkbox:j,descriptions:_,divider:M,drawer:P,skeleton:T,steps:I,image:F,layout:N,list:R,mentions:L,modal:H,progress:D,result:B,slider:z,breadcrumb:V,menu:q,pagination:W,input:G,textArea:U,empty:K,badge:X,radio:Y,rate:Q,switch:Z,transfer:J,avatar:ee,message:et,tag:en,table:er,card:eo,tabs:ea,timeline:ec,timePicker:es,upload:el,notification:eu,tree:ef,colorPicker:ed,datePicker:eh,rangePicker:ep,flex:eg,wave:em,dropdown:ev,warning:ey,tour:eb,floatButtonGroup:ex,variant:ew,inputNumber:eC,treeSelect:eS}=e,ek=ei.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||v.getPrefixCls("");return t?`${o}-${t}`:o},[v.getPrefixCls,e.prefixCls]),eE=y||v.iconPrefixCls||oR,eO=n||v.csp;aw(eE,eO);let e$=function(e,t,n){var r;oK("ConfigProvider");let o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},ov),{hashed:null!=(r=null==t?void 0:t.hashed)?r:ov.hashed,cssVar:null==t?void 0:t.cssVar}),a=ir();return t0(()=>{var r,c;if(!e)return t;let s=Object.assign({},i.components);Object.keys(e.components||{}).forEach(t=>{s[t]=Object.assign(Object.assign({},s[t]),e.components[t])});let l=`css-var-${a.replace(/:/g,"")}`,u=(null!=(r=o.cssVar)?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null==(c=o.cssVar)?void 0:c.key)||l});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:s,cssVar:u})},[o,i],(e,t)=>e.some((e,n)=>!t8(e,t[n],!0)))}(b,v.theme,{prefixCls:ek("")}),eA={csp:eO,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:c||m,direction:l,space:u,splitter:f,virtual:d,popupMatchSelectWidth:null!=p?p:h,popupOverflow:g,getPrefixCls:ek,iconPrefixCls:eE,theme:e$,segmented:w,statistic:C,spin:S,calendar:k,carousel:E,cascader:O,collapse:$,typography:A,checkbox:j,descriptions:_,divider:M,drawer:P,skeleton:T,steps:I,image:F,input:G,textArea:U,layout:N,list:R,mentions:L,modal:H,progress:D,result:B,slider:z,breadcrumb:V,menu:q,pagination:W,empty:K,badge:X,radio:Y,rate:Q,switch:Z,transfer:J,avatar:ee,message:et,tag:en,table:er,card:eo,tabs:ea,timeline:ec,timePicker:es,upload:el,notification:eu,tree:ef,colorPicker:ed,datePicker:eh,rangePicker:ep,flex:eg,wave:em,dropdown:ev,warning:ey,tour:eb,floatButtonGroup:ex,variant:ew,inputNumber:eC,treeSelect:eS},ej=Object.assign({},v);Object.keys(eA).forEach(e=>{void 0!==eA[e]&&(ej[e]=eA[e])}),aS.forEach(t=>{let n=e[t];n&&(ej[t]=n)}),void 0!==r&&(ej.button=Object.assign({autoInsertSpace:r},ej.button));let e_=t0(()=>ej,ej,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),eM=ei.useMemo(()=>({prefixCls:eE,csp:eO}),[eE,eO]),eP=ei.createElement(ei.Fragment,null,ei.createElement(ah,{dropdownMatchSelectWidth:h}),t),eT=ei.useMemo(()=>{var e,t,n,r;return oW((null==(e=o0.Form)?void 0:e.defaultValidateMessages)||{},(null==(n=null==(t=e_.locale)?void 0:t.Form)?void 0:n.defaultValidateMessages)||{},(null==(r=e_.form)?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})},[e_,null==a?void 0:a.validateMessages]);Object.keys(eT).length>0&&(eP=ei.createElement(oX.Provider,{value:eT},eP)),c&&(eP=ei.createElement(o6,{locale:c,_ANT_MARK__:"internalMark"},eP)),(eE||eO)&&(eP=ei.createElement(oD.Provider,{value:eM},eP)),s&&(eP=ei.createElement(ie,{size:s},eP)),eP=ei.createElement(ad,null,eP);let eI=ei.useMemo(()=>{let e=e$||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=aC(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?nf(t):om,c={};Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=a:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=nf(r.algorithm)),delete r.algorithm),c[t]=r});let s=Object.assign(Object.assign({},rX),n);return Object.assign(Object.assign({},i),{theme:a,token:s,components:c,override:Object.assign({override:s},c),cssVar:o})},[e$]);return b&&(eP=ei.createElement(oy.Provider,{value:eI},eP)),e_.warning&&(eP=ei.createElement(oU.Provider,{value:e_.warning},eP)),void 0!==x&&(eP=ei.createElement(o9,{disabled:x},eP)),ei.createElement(oL.Provider,{value:e_},eP)},aA=e=>{let t=ei.useContext(oL),n=ei.useContext(o4);return ei.createElement(a$,Object.assign({parentContext:t,legacyLocale:n},e))};function aj(){aj=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function f(t,n,r,i){var a,c,s,l,u=Object.create((n&&n.prototype instanceof v?n:v).prototype);return o(u,"_invoke",{value:(a=t,c=r,s=new A(i||[]),l=h,function(t,n){if(l===p)throw Error("Generator is already running");if(l===g){if("throw"===t)throw n;return{value:e,done:!0}}for(s.method=t,s.arg=n;;){var r=s.delegate;if(r){var o=function t(n,r){var o=r.method,i=n.iterator[o];if(i===e)return r.delegate=null,"throw"===o&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),m;var a=d(i,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var c=a.arg;return c?c.done?(r[n.resultName]=c.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):c:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,m)}(r,s);if(o){if(o===m)continue;return o}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===h)throw l=g,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=p;var i=d(a,c,s);if("normal"===i.type){if(l=s.done?g:"suspendedYield",i.arg===m)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(l=g,s.method="throw",s.arg=i.arg)}})}),u}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",p="executing",g="completed",m={};function v(){}function y(){}function b(){}var x={};u(x,a,function(){return this});var w=Object.getPrototypeOf,C=w&&w(w(j([])));C&&C!==n&&r.call(C,a)&&(x=C);var S=b.prototype=v.prototype=Object.create(x);function k(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){var n;o(this,"_invoke",{value:function(o,i){function a(){return new t(function(n,a){!function n(o,i,a,c){var l=d(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==s(f)&&r.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,a,c)},function(e){n("throw",e,a,c)}):t.resolve(f).then(function(e){u.value=e,a(u)},function(e){return n("throw",e,a,c)})}c(l.arg)}(o,i,n,a)})}return n=n?n.then(a,a):a()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function $(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),$(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;$(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function a_(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function aM(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){a_(i,r,o,a,c,"next",e)}function c(e){a_(i,r,o,a,c,"throw",e)}a(void 0)})}}aA.ConfigContext=oL,aA.SizeContext=o7,aA.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:c,holderRender:s}=e;if(void 0!==t&&(r=t),void 0!==n&&(o=n),"holderRender"in e&&(a=s),c)if(Object.keys(c).some(e=>e.endsWith("Color"))){let e=function(e,t){let n={},r=(e,t)=>{let n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=(e,t)=>{let o=new on(e),i=rb(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new on(t.primaryColor),i=rb(e.toRgbString());i.forEach((e,t)=>{n[`primary-${t+1}`]=e}),n["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),n["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),n["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),n["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),n["primary-color-deprecated-f-12"]=r(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new on(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,e=>e.setAlpha(.3*e.getAlpha())),n["primary-color-active-deprecated-d-02"]=r(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(n).map(t=>`--${e}-${t}: ${n[t]};`);return` - :root { - ${i.join("\n")} - } - `.trim()}(ak(),c);tz()&&tJ(e,`${o3}-dynamic-theme`)}else i=c},aA.useConfig=function(){return{componentDisabled:(0,ei.useContext)(o8),componentSize:(0,ei.useContext)(o7)}},Object.defineProperty(aA,"SizeContext",{get:()=>o7});var aP=d({},ia),aT=aP.version,aI=aP.render,aF=aP.unmountComponentAtNode;try{Number((aT||"").split(".")[0])>=18&&(S=aP.createRoot)}catch(e){}function aN(e){var t=aP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===s(t)&&(t.usingClientEntryPoint=e)}var aR="__rc_react_root__";function aL(){return(aL=aM(aj().mark(function e(t){return aj().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null==(e=t[aR])||e.unmount(),delete t[aR]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function aH(){return(aH=aM(aj().mark(function e(t){return aj().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===S){e.next=2;break}return e.abrupt("return",function(e){return aL.apply(this,arguments)}(t));case 2:aF(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}let aD=(e,t)=>(!function(e,t){var n;if(S)return aN(!0),n=t[aR]||S(t),aN(!1),n.render(e),t[aR]=n;null==aI||aI(e,t)}(e,t),()=>(function(e){return aH.apply(this,arguments)})(t)),aB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function az(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}function aV(e){return"object"===s(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===s(e.icon)||"function"==typeof e.icon)}function aq(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[n.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=r),t},{})}function aW(e){return e?Array.isArray(e)?e:[e]:[]}var aG=function(e){var t=(0,ei.useContext)(oD),n=t.csp,r=t.prefixCls,o=t.layer,i="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(i=i.replace(/anticon/g,r)),o&&(i="@layer ".concat(o," {\n").concat(i,"\n}")),(0,ei.useEffect)(function(){var t,r=az(t=e.current)instanceof ShadowRoot?az(t):null;tJ(i,"@ant-design-icons",{prepend:!o,csp:n,attachTo:r})},[])},aU=["icon","className","onClick","style","primaryColor","secondaryColor"],aK={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},aX=function(e){var t,n,r=e.icon,o=e.className,i=e.onClick,a=e.style,c=e.primaryColor,s=e.secondaryColor,l=tT(e,aU),u=ei.useRef(),f=aK;if(c&&(f={primaryColor:c,secondaryColor:s||rb(c)[0]}),aG(u),t=aV(r),n="icon should be icon definiton, but got ".concat(r),t3(t,"[@ant-design/icons] ".concat(n)),!aV(r))return null;var h=r;return h&&"function"==typeof h.icon&&(h=d(d({},h),{},{icon:h.icon(f.primaryColor,f.secondaryColor)})),function e(t,n,r){return r?ea().createElement(t.tag,d(d({key:n},aq(t.attrs)),r),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):ea().createElement(t.tag,d({key:n},aq(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(h.icon,"svg-".concat(h.name),d(d({className:o,onClick:i,style:a,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};function aY(e){var t=tL(aW(e),2),n=t[0],r=t[1];return aX.setTwoToneColors({primaryColor:n,secondaryColor:r})}aX.displayName="IconReact",aX.getTwoToneColors=function(){return d({},aK)},aX.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;aK.primaryColor=t,aK.secondaryColor=n||rb(t)[0],aK.calculated=!!n};var aQ=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];aY(rj.primary);var aZ=ei.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,c=e.onClick,s=e.twoToneColor,l=tT(e,aQ),f=ei.useContext(oD),d=f.prefixCls,h=void 0===d?"anticon":d,p=f.rootClassName,g=ii()(p,h,u(u({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!o||"loading"===r.name),n),m=a;void 0===m&&c&&(m=-1);var v=tL(aW(s),2),y=v[0],b=v[1];return ei.createElement("span",tm({role:"img","aria-label":r.name},l,{ref:t,tabIndex:m,onClick:c,className:g}),ei.createElement(aX,{icon:r,primaryColor:y,secondaryColor:b,style:i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0}))});aZ.displayName="AntdIcon",aZ.getTwoToneColor=function(){var e=aX.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},aZ.setTwoToneColor=aY;var aJ=ei.forwardRef(function(e,t){return ei.createElement(aZ,tm({},e,{ref:t,icon:aB}))});let a0={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a1=ei.forwardRef(function(e,t){return ei.createElement(aZ,tm({},e,{ref:t,icon:a0}))});let a2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var a5=ei.forwardRef(function(e,t){return ei.createElement(aZ,tm({},e,{ref:t,icon:a2}))});let a4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var a6=ei.forwardRef(function(e,t){return ei.createElement(aZ,tm({},e,{ref:t,icon:a4}))});let a3={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a8=ei.forwardRef(function(e,t){return ei.createElement(aZ,tm({},e,{ref:t,icon:a3}))}),a9={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=a9.F1&&t<=a9.F12)return!1;switch(t){case a9.ALT:case a9.CAPS_LOCK:case a9.CONTEXT_MENU:case a9.CTRL:case a9.DOWN:case a9.END:case a9.ESC:case a9.HOME:case a9.INSERT:case a9.LEFT:case a9.MAC_FF_META:case a9.META:case a9.NUMLOCK:case a9.NUM_CENTER:case a9.PAGE_DOWN:case a9.PAGE_UP:case a9.PAUSE:case a9.PRINT_SCREEN:case a9.RIGHT:case a9.SHIFT:case a9.UP:case a9.WIN_KEY:case a9.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=a9.ZERO&&e<=a9.NINE||e>=a9.NUM_ZERO&&e<=a9.NUM_MULTIPLY||e>=a9.A&&e<=a9.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case a9.SPACE:case a9.QUESTION_MARK:case a9.NUM_PLUS:case a9.NUM_MINUS:case a9.NUM_PERIOD:case a9.NUM_DIVISION:case a9.SEMICOLON:case a9.DASH:case a9.EQUALS:case a9.COMMA:case a9.PERIOD:case a9.SLASH:case a9.APOSTROPHE:case a9.SINGLE_QUOTE:case a9.OPEN_SQUARE_BRACKET:case a9.BACKSLASH:case a9.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},a7="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function ce(e,t){return 0===e.indexOf(t)}function ct(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:d({},n);var r={};return Object.keys(e).forEach(function(n){(t.aria&&("role"===n||ce(n,"aria-"))||t.data&&ce(n,"data-")||t.attr&&a7.includes(n))&&(r[n]=e[n])}),r}var cn=ei.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.className,i=e.duration,a=void 0===i?4.5:i,c=e.showProgress,l=e.pauseOnHover,f=void 0===l||l,d=e.eventKey,h=e.content,p=e.closable,g=e.closeIcon,m=void 0===g?"x":g,v=e.props,y=e.onClick,b=e.onNoticeClose,x=e.times,w=e.hovering,C=tL(ei.useState(!1),2),S=C[0],k=C[1],E=tL(ei.useState(0),2),O=E[0],$=E[1],A=tL(ei.useState(0),2),j=A[0],_=A[1],M=w||S,P=a>0&&c,T=function(){b(d)};ei.useEffect(function(){if(!M&&a>0){var e=Date.now()-j,t=setTimeout(function(){T()},1e3*a-j);return function(){f&&clearTimeout(t),_(Date.now()-e)}}},[a,M,x]),ei.useEffect(function(){if(!M&&P&&(f||0===j)){var e,t=performance.now();return!function n(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var r=Math.min((e+j-t)/(1e3*a),1);$(100*r),r<1&&n()})}(),function(){f&&cancelAnimationFrame(e)}}},[a,j,M,P,x]);var I=ei.useMemo(function(){return"object"===s(p)&&null!==p?p:p?{closeIcon:m}:{}},[p,m]),F=ct(I,!0),N=100-(!O||O<0?0:O>100?100:O),R="".concat(n,"-notice");return ei.createElement("div",tm({},v,{ref:t,className:ii()(R,o,u({},"".concat(R,"-closable"),p)),style:r,onMouseEnter:function(e){var t;k(!0),null==v||null==(t=v.onMouseEnter)||t.call(v,e)},onMouseLeave:function(e){var t;k(!1),null==v||null==(t=v.onMouseLeave)||t.call(v,e)},onClick:y}),ei.createElement("div",{className:"".concat(R,"-content")},h),p&&ei.createElement("a",tm({tabIndex:0,className:"".concat(R,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===a9.ENTER)&&T()},"aria-label":"Close"},F,{onClick:function(e){e.preventDefault(),e.stopPropagation(),T()}}),I.closeIcon),P&&ei.createElement("progress",{className:"".concat(R,"-progress"),max:"100",value:N},N+"%"))}),cr=ea().createContext({});let co=function(e){var t=e.children,n=e.classNames;return ea().createElement(cr.Provider,{value:{classNames:n}},t)},ci=function(e){var t,n,r,o={offset:8,threshold:3,gap:16};return e&&"object"===s(e)&&(o.offset=null!=(t=e.offset)?t:8,o.threshold=null!=(n=e.threshold)?n:3,o.gap=null!=(r=e.gap)?r:16),[!!e,o]};var ca=["className","style","classNames","styles"];let cc=function(e){var t=e.configList,n=e.placement,r=e.prefixCls,o=e.className,i=e.style,a=e.motion,c=e.onAllNoticeRemoved,s=e.onNoticeClose,l=e.stack,f=(0,ei.useContext)(cr).classNames,h=(0,ei.useRef)({}),p=tL((0,ei.useState)(null),2),g=p[0],m=p[1],v=tL((0,ei.useState)([]),2),y=v[0],b=v[1],x=t.map(function(e){return{config:e,key:String(e.key)}}),w=tL(ci(l),2),C=w[0],S=w[1],k=S.offset,E=S.threshold,O=S.gap,$=C&&(y.length>0||x.length<=E),A="function"==typeof a?a(n):a;return(0,ei.useEffect)(function(){C&&y.length>1&&b(function(e){return e.filter(function(e){return x.some(function(t){return e===t.key})})})},[y,x,C]),(0,ei.useEffect)(function(){var e,t;C&&h.current[null==(e=x[x.length-1])?void 0:e.key]&&m(h.current[null==(t=x[x.length-1])?void 0:t.key])},[x,C]),ea().createElement(af,tm({key:n,className:ii()(r,"".concat(r,"-").concat(n),null==f?void 0:f.list,o,u(u({},"".concat(r,"-stack"),!!C),"".concat(r,"-stack-expanded"),$)),style:i,keys:x,motionAppear:!0},A,{onAllRemoved:function(){c(n)}}),function(e,t){var o=e.config,i=e.className,a=e.style,c=e.index,l=o.key,u=o.times,p=String(l),m=o.className,v=o.style,w=o.classNames,S=o.styles,E=tT(o,ca),A=x.findIndex(function(e){return e.key===p}),j={};if(C){var _=x.length-1-(A>-1?A:c-1),M="top"===n||"bottom"===n?"-50%":"0";if(_>0){j.height=$?null==(P=h.current[p])?void 0:P.offsetHeight:null==g?void 0:g.offsetHeight;for(var P,T,I,F,N=0,R=0;R<_;R++)N+=(null==(F=h.current[x[x.length-1-R].key])?void 0:F.offsetHeight)+O;var L=($?N:_*k)*(n.startsWith("top")?1:-1),H=!$&&null!=g&&g.offsetWidth&&null!=(T=h.current[p])&&T.offsetWidth?((null==g?void 0:g.offsetWidth)-2*k*(_<3?_:3))/(null==(I=h.current[p])?void 0:I.offsetWidth):1;j.transform="translate3d(".concat(M,", ").concat(L,"px, 0) scaleX(").concat(H,")")}else j.transform="translate3d(".concat(M,", 0, 0)")}return ea().createElement("div",{ref:t,className:ii()("".concat(r,"-notice-wrapper"),i,null==w?void 0:w.wrapper),style:d(d(d({},a),j),null==S?void 0:S.wrapper),onMouseEnter:function(){return b(function(e){return e.includes(p)?e:[].concat(tD(e),[p])})},onMouseLeave:function(){return b(function(e){return e.filter(function(e){return e!==p})})}},ea().createElement(cn,tm({},E,{ref:function(e){A>-1?h.current[p]=e:delete h.current[p]},prefixCls:r,classNames:w,styles:S,className:ii()(m,null==f?void 0:f.notice),style:v,times:u,key:l,eventKey:l,onNoticeClose:s,hovering:C&&y.length>0})))})};var cs=ei.forwardRef(function(e,t){var n=e.prefixCls,r=void 0===n?"rc-notification":n,o=e.container,i=e.motion,a=e.maxCount,c=e.className,s=e.style,l=e.onAllRemoved,u=e.stack,f=e.renderNotifications,h=tL(ei.useState([]),2),p=h[0],g=h[1],m=function(e){var t,n=p.find(function(t){return t.key===e});null==n||null==(t=n.onClose)||t.call(n),g(function(t){return t.filter(function(t){return t.key!==e})})};ei.useImperativeHandle(t,function(){return{open:function(e){g(function(t){var n,r=tD(t),o=r.findIndex(function(t){return t.key===e.key}),i=d({},e);return o>=0?(i.times=((null==(n=t[o])?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),a>0&&r.length>a&&(r=r.slice(-a)),r})},close:function(e){m(e)},destroy:function(){g([])}}});var v=tL(ei.useState({}),2),y=v[0],b=v[1];ei.useEffect(function(){var e={};p.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(y).forEach(function(t){e[t]=e[t]||[]}),b(e)},[p]);var x=function(e){b(function(t){var n=d({},t);return(n[e]||[]).length||delete n[e],n})},w=ei.useRef(!1);if(ei.useEffect(function(){Object.keys(y).length>0?w.current=!0:w.current&&(null==l||l(),w.current=!1)},[y]),!o)return null;var C=Object.keys(y);return(0,ia.createPortal)(ei.createElement(ei.Fragment,null,C.map(function(e){var t=y[e],n=ei.createElement(cc,{key:e,configList:t,placement:e,prefixCls:r,className:null==c?void 0:c(e),style:null==s?void 0:s(e),motion:i,onNoticeClose:m,onAllNoticeRemoved:x,stack:u});return f?f(n,{prefixCls:r,key:e}):n})),o)}),cl=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],cu=function(){return document.body},cf=0;function cd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?cu:t,r=e.motion,o=e.prefixCls,i=e.maxCount,a=e.className,c=e.style,s=e.onAllRemoved,l=e.stack,u=e.renderNotifications,f=tT(e,cl),d=tL(ei.useState(),2),h=d[0],p=d[1],g=ei.useRef(),m=ei.createElement(cs,{container:h,ref:g,prefixCls:o,motion:r,maxCount:i,className:a,style:c,onAllRemoved:s,stack:l,renderNotifications:u}),v=tL(ei.useState([]),2),y=v[0],b=v[1],x=iP(function(e){var t=function(){for(var e={},t=arguments.length,n=Array(t),r=0;r{let[,,,,t]=ok();return t?`${e}-css-var`:""},cp=ea().createContext(void 0),cg={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100,FloatButton:100},cm={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},cv=(e,t)=>{let n,[,r]=ok(),o=ea().useContext(cp),i=e in cg;if(void 0!==t)n=[t,t];else{let a=null!=o?o:0;i?a+=(o?0:r.zIndexPopupBase)+cg[e]:a+=cm[e],n=[void 0===o?t:a,a]}return n};var cy=el(function e(){ec(this,e)}),cb="CALC_UNIT",cx=RegExp(cb,"g");function cw(e){return"number"==typeof e?"".concat(e).concat(cb):e}var cC=function(e){iO(n,e);var t=i_(n);function n(e,r){ec(this,n),u(ij(o=t.call(this)),"result",""),u(ij(o),"unitlessCssVar",void 0),u(ij(o),"lowPriority",void 0);var o,i=s(e);return o.unitlessCssVar=r,e instanceof n?o.result="(".concat(e.result,")"):"number"===i?o.result=cw(e):"string"===i&&(o.result=e),o}return el(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(cw(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(cw(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(cx,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(cy),cS=function(e){iO(n,e);var t=i_(n);function n(e){var r;return ec(this,n),u(ij(r=t.call(this)),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return el(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(cy);let ck=function(e,t){var n="css"===e?cC:cS;return function(e){return new n(e,t)}},cE=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))},cO=function(e,t,n,r){var o=d({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=tL(e,2),r=n[0],i=n[1];(null!=o&&o[r]||null!=o&&o[i])&&(null!=o[i]||(o[i]=null==o?void 0:o[r]))});var i=d(d({},n),o);return Object.keys(i).forEach(function(e){i[e]===t[e]&&delete i[e]}),i};var c$="undefined"!=typeof CSSINJS_STATISTIC,cA=!0;function cj(){for(var e=arguments.length,t=Array(e),n=0;n1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());let cF=function(){return{}},{genStyleHooks:cN,genComponentStyleHook:cR,genSubStyleComponent:cL}=function(e){var t=e.useCSP,n=void 0===t?cF:t,r=e.useToken,o=e.usePrefix,i=e.getResetStyles,a=e.getCommonStyle,c=e.getCompUnitless;function l(t,c,l){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=Array.isArray(t)?t:[t,t],h=tL(f,1)[0],p=f.join("-"),g=e.layer||{name:"antd"};return function(e){var t,f,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,v=r(),y=v.theme,b=v.realToken,x=v.hashId,w=v.token,C=v.cssVar,S=o(),k=S.rootPrefixCls,E=S.iconPrefixCls,O=n(),$=C?"css":"js",A=(t=function(){var e=new Set;return C&&Object.keys(u.unitless||{}).forEach(function(t){e.add(nx(t,C.prefix)),e.add(nx(t,cE(h,C.prefix)))}),ck($,e)},f=[$,h,null==C?void 0:C.prefix],ea().useMemo(function(){var e=cI.get(f);if(e)return e;var n=t();return cI.set(f,n),n},f)),j="js"===$?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:e,n=tL(S(e,t),2)[1],r=tL(k(t),2);return[r[0],n,r[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=l(e,t,n,d({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return o(t,r),null}},genComponentStyleHook:l}}({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,ei.useContext)(oL);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,n,r,o]=ok();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{let{csp:e}=(0,ei.useContext)(oL);return null!=e?e:{}},getResetStyles:(e,t)=>{var n;return[{"&":av(e)},ax(null!=(n=null==t?void 0:t.prefix.iconPrefixCls)?n:oR)]},getCommonStyle:(e,t,n,r)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},getCompUnitless:()=>ox}),cH=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:c,colorInfo:s,fontSizeLG:l,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:d,paddingXS:h,borderRadiusLG:p,zIndexPopup:g,contentPadding:m,contentBg:v}=e,y=`${t}-notice`,b=new rc("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),x=new rc("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),w={padding:h,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:d,fontSize:l},[`${y}-content`]:{display:"inline-block",padding:m,background:v,borderRadius:p,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:c},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:s}};return[{[t]:Object.assign(Object.assign({},ap(e)),{color:o,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[` - ${t}-move-up-appear${t}-move-up-appear-active, - ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${y}-wrapper`]:Object.assign({},w)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},w),{padding:0,textAlign:"start"})}]},cD=cN("Message",e=>[cH(cj(e,{height:150}))],e=>({zIndexPopup:e.zIndexPopupBase+1e3+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}));var cB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let cz={info:ei.createElement(a6,null),success:ei.createElement(aJ,null),error:ei.createElement(a1,null),warning:ei.createElement(a5,null),loading:ei.createElement(a8,null)},cV=e=>{let{prefixCls:t,type:n,icon:r,children:o}=e;return ei.createElement("div",{className:ii()(`${t}-custom-content`,`${t}-${n}`)},r||cz[n],ei.createElement("span",null,o))},cq={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var cW=ei.forwardRef(function(e,t){return ei.createElement(aZ,tm({},e,{ref:t,icon:cq}))});function cG(e){let t,n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var cU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let cK=e=>{let{children:t,prefixCls:n}=e,r=ch(n),[o,i,a]=cD(n,r);return o(ei.createElement(co,{classNames:{list:ii()(i,a,r)}},t))},cX=(e,t)=>{let{prefixCls:n,key:r}=t;return ei.createElement(cK,{prefixCls:n,key:r},e)},cY=ei.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:a=3,rtl:c,transitionName:s,onAllRemoved:l}=e,{getPrefixCls:u,getPopupContainer:f,message:d,direction:h}=ei.useContext(oL),p=r||u("message"),g=ei.createElement("span",{className:`${p}-close-x`},ei.createElement(cW,{className:`${p}-close-icon`})),[m,v]=cd({prefixCls:p,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>ii()({[`${p}-rtl`]:null!=c?c:"rtl"===h}),motion:()=>({motionName:null!=s?s:`${p}-move-up`}),closable:!1,closeIcon:g,duration:a,getContainer:()=>(null==o?void 0:o())||(null==f?void 0:f())||document.body,maxCount:i,onAllRemoved:l,renderNotifications:cX});return ei.useImperativeHandle(t,()=>Object.assign(Object.assign({},m),{prefixCls:p,message:d})),v}),cQ=0;function cZ(e){let t=ei.useRef(null);return oK("Message"),[ei.useMemo(()=>{let e=e=>{var n;null==(n=t.current)||n.close(e)},n=n=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:r,prefixCls:o,message:i}=t.current,a=`${o}-notice`,{content:c,icon:s,type:l,key:u,className:f,style:d,onClose:h}=n,p=cU(n,["content","icon","type","key","className","style","onClose"]),g=u;return null==g&&(cQ+=1,g=`antd-message-${cQ}`),cG(t=>(r(Object.assign(Object.assign({},p),{key:g,content:ei.createElement(cV,{prefixCls:o,type:l,icon:s},c),placement:"top",className:ii()(l&&`${a}-${l}`,f,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),d),onClose:()=>{null==h||h(),t()}})),()=>{e(g)}))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null==(r=t.current)||r.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{r[e]=(t,r,o)=>{let i,a,c;return i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?c=r:(a=r,c=o),n(Object.assign(Object.assign({onClose:c,duration:a},i),{type:e}))}}),r},[]),ei.createElement(cY,Object.assign({key:"message-holder"},e,{ref:t}))]}let cJ=null,c0=e=>e(),c1=[],c2={};function c5(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=c2,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}let c4=ea().forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:o}=(0,ei.useContext)(oL),i=c2.prefixCls||o("message"),a=(0,ei.useContext)(oN),[c,s]=cZ(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),a.message));return ea().useImperativeHandle(t,()=>{let e=Object.assign({},c);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),c[t].apply(c,arguments)}}),{instance:e,sync:r}}),s}),c6=ea().forwardRef((e,t)=>{let[n,r]=ea().useState(c5),o=()=>{r(c5)};ea().useEffect(o,[]);let i=aO(),a=i.getRootPrefixCls(),c=i.getIconPrefixCls(),s=i.getTheme(),l=ea().createElement(c4,{ref:t,sync:o,messageConfig:n});return ea().createElement(aA,{prefixCls:a,iconPrefixCls:c,theme:s},i.holderRender?i.holderRender(l):l)});function c3(){if(!cJ){let e=document.createDocumentFragment(),t={fragment:e};cJ=t,c0(()=>{aD(ea().createElement(c6,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,c3())})}}),e)});return}cJ.instance&&(c1.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":c0(()=>{let t=cJ.instance.open(Object.assign(Object.assign({},c2),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":c0(()=>{null==cJ||cJ.instance.destroy(e.key)});break;default:c0(()=>{var n;let r=(n=cJ.instance)[t].apply(n,tD(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)})}}),c1=[])}let c8={open:function(e){let t=cG(t=>{let n,r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return c1.push(r),()=>{n?c0(()=>{n()}):r.skipped=!0}});return c3(),t},destroy:e=>{c1.push({type:"destroy",key:e}),c3()},config:function(e){c2=Object.assign(Object.assign({},c2),e),c0(()=>{var e;null==(e=null==cJ?void 0:cJ.sync)||e.call(cJ)})},useMessage:function(e){return cZ(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=cB(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:c}=ei.useContext(oL),s=t||c("message"),l=ch(s),[u,f,d]=cD(s,l);return u(ei.createElement(cn,Object.assign({},a,{prefixCls:s,className:ii()(n,f,`${s}-notice-pure-panel`,d,l),eventKey:"pure",duration:null,content:ei.createElement(cV,{prefixCls:s,type:r,icon:o},i)})))}};["success","info","warning","error","loading"].forEach(e=>{c8[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r{let r,o={type:e,args:n,resolve:t,setCloseFn:e=>{r=e}};return c1.push(o),()=>{r?c0(()=>{r()}):o.skipped=!0}});return c3(),o}});let c9=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,o=`${t}-notice`,i=new rc("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),a=new rc("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[o]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new rc("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}})}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[o]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new rc("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}})}}}}},c7=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],se={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},st=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[se[t]]:{value:0,_skip_check_:!0}}}}},sn=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},sr=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},sn(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},sr(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},c7.map(t=>st(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))},si=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:c,colorInfo:s,colorWarning:l,colorError:u,colorTextHeading:f,notificationBg:d,notificationPadding:h,notificationMarginEdge:p,notificationProgressBg:g,notificationProgressHeight:m,fontSize:v,lineHeight:y,width:b,notificationIconSize:x,colorText:w}=e,C=`${n}-notice`;return{position:"relative",marginBottom:i,marginInlineStart:"auto",background:d,borderRadius:a,boxShadow:r,[C]:{padding:h,width:b,maxWidth:`calc(100vw - ${ny(e.calc(p).mul(2).equal())})`,overflow:"hidden",lineHeight:y,wordWrap:"break-word"},[`${C}-message`]:{marginBottom:e.marginXS,color:f,fontSize:o,lineHeight:e.lineHeightLG},[`${C}-description`]:{fontSize:v,color:w},[`${C}-closable ${C}-message`]:{paddingInlineEnd:e.paddingLG},[`${C}-with-icon ${C}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(x).equal(),fontSize:o},[`${C}-with-icon ${C}-description`]:{marginInlineStart:e.calc(e.marginSM).add(x).equal(),fontSize:v},[`${C}-icon`]:{position:"absolute",fontSize:x,lineHeight:1,[`&-success${t}`]:{color:c},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:l},[`&-error${t}`]:{color:u}},[`${C}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},ab(e)),[`${C}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${ny(a)} * 2)`,left:{_skip_check_:!0,value:a},right:{_skip_check_:!0,value:a},bottom:0,blockSize:m,border:0,"&, &::-webkit-progress-bar":{borderRadius:a,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:g},"&::-webkit-progress-value":{borderRadius:a,background:g}},[`${C}-btn`]:{float:"right",marginTop:e.marginSM}}},sa=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:o,motionEaseInOut:i}=e,a=`${t}-notice`,c=new rc("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},ap(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:i,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:i,animationFillMode:"both",animationDuration:o,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:c,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${a}-btn`]:{float:"left"}}})},{[t]:{[`${a}-wrapper`]:Object.assign({},si(e))}}]},sc=e=>({zIndexPopup:e.zIndexPopupBase+1e3+50,width:384}),ss=e=>{let t=e.paddingMD,n=e.paddingLG;return cj(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${ny(e.paddingMD)} ${ny(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`})},sl=cN("Notification",e=>{let t=ss(e);return[sa(t),c9(t),so(t)]},sc),su=cL(["Notification","PurePanel"],e=>{let t=`${e.componentCls}-notice`,n=ss(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},si(n)),{width:n.width,maxWidth:`calc(100vw - ${ny(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},sc);var sf=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function sd(e,t){return null===t||!1===t?null:t||ei.createElement(cW,{className:`${e}-close-icon`})}let sh={success:aJ,info:a6,error:a1,warning:a5},sp=e=>{let{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a,role:c="alert"}=e,s=null;return n?s=ei.createElement("span",{className:`${t}-icon`},n):r&&(s=ei.createElement(sh[r]||null,{className:ii()(`${t}-icon`,`${t}-icon-${r}`)})),ei.createElement("div",{className:ii()({[`${t}-with-icon`]:s}),role:c},s,ei.createElement("div",{className:`${t}-message`},o),ei.createElement("div",{className:`${t}-description`},i),a&&ei.createElement("div",{className:`${t}-btn`},a))};var sg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let sm=e=>{let{children:t,prefixCls:n}=e,r=ch(n),[o,i,a]=sl(n,r);return o(ea().createElement(co,{classNames:{list:ii()(i,a,r)}},t))},sv=(e,t)=>{let{prefixCls:n,key:r}=t;return ea().createElement(sm,{prefixCls:n,key:r},e)},sy=ea().forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:o,getContainer:i,maxCount:a,rtl:c,onAllRemoved:s,stack:l,duration:u,pauseOnHover:f=!0,showProgress:d}=e,{getPrefixCls:h,getPopupContainer:p,notification:g,direction:m}=(0,ei.useContext)(oL),[,v]=ok(),y=o||h("notification"),[b,x]=cd({prefixCls:y,style:e=>(function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r})(e,null!=n?n:24,null!=r?r:24),className:()=>ii()({[`${y}-rtl`]:null!=c?c:"rtl"===m}),motion:()=>({motionName:`${y}-fade`}),closable:!0,closeIcon:sd(y),duration:null!=u?u:4.5,getContainer:()=>(null==i?void 0:i())||(null==p?void 0:p())||document.body,maxCount:a,pauseOnHover:f,showProgress:d,onAllRemoved:s,renderNotifications:sv,stack:!1!==l&&{threshold:"object"==typeof l?null==l?void 0:l.threshold:void 0,offset:8,gap:v.margin}});return ea().useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:y,notification:g})),x});function sb(e){let t=ea().useRef(null);return oK("Notification"),[ea().useMemo(()=>{let n=n=>{var r;if(!t.current)return;let{open:o,prefixCls:i,notification:a}=t.current,c=`${i}-notice`,{message:s,description:l,icon:u,type:f,btn:d,className:h,style:p,role:g="alert",closeIcon:m,closable:v}=n,y=sg(n,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),b=sd(c,void 0!==m?m:null==a?void 0:a.closeIcon);return o(Object.assign(Object.assign({placement:null!=(r=null==e?void 0:e.placement)?r:"topRight"},y),{content:ea().createElement(sp,{prefixCls:c,icon:u,type:f,message:s,description:l,btn:d,role:g}),className:ii()(f&&`${c}-${f}`,h,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),p),closeIcon:b,closable:null!=v?v:!!b}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null==(n=t.current)||n.close(e):null==(r=t.current)||r.destroy()}};return["success","info","warning","error"].forEach(e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),r},[]),ea().createElement(sy,Object.assign({key:"notification-holder"},e,{ref:t}))]}let sx=null,sw=e=>e(),sC=[],sS={};function sk(){let{getContainer:e,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}=sS,c=(null==e?void 0:e())||document.body;return{getContainer:()=>c,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}}let sE=ea().forwardRef((e,t)=>{let{notificationConfig:n,sync:r}=e,{getPrefixCls:o}=(0,ei.useContext)(oL),i=sS.prefixCls||o("notification"),a=(0,ei.useContext)(oN),[c,s]=sb(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),a.notification));return ea().useEffect(r,[]),ea().useImperativeHandle(t,()=>{let e=Object.assign({},c);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),c[t].apply(c,arguments)}}),{instance:e,sync:r}}),s}),sO=ea().forwardRef((e,t)=>{let[n,r]=ea().useState(sk),o=()=>{r(sk)};ea().useEffect(o,[]);let i=aO(),a=i.getRootPrefixCls(),c=i.getIconPrefixCls(),s=i.getTheme(),l=ea().createElement(sE,{ref:t,sync:o,notificationConfig:n});return ea().createElement(aA,{prefixCls:a,iconPrefixCls:c,theme:s},i.holderRender?i.holderRender(l):l)});function s$(){if(!sx){let e=document.createDocumentFragment(),t={fragment:e};sx=t,sw(()=>{aD(ea().createElement(sO,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,s$())})}}),e)});return}sx.instance&&(sC.forEach(e=>{switch(e.type){case"open":sw(()=>{sx.instance.open(Object.assign(Object.assign({},sS),e.config))});break;case"destroy":sw(()=>{null==sx||sx.instance.destroy(e.key)})}}),sC=[])}function sA(e){aO(),sC.push({type:"open",config:e}),s$()}let sj={open:sA,destroy:e=>{sC.push({type:"destroy",key:e}),s$()},config:function(e){sS=Object.assign(Object.assign({},sS),e),sw(()=>{var e;null==(e=null==sx?void 0:sx.sync)||e.call(sx)})},useNotification:function(e){return sb(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:n,icon:r,type:o,message:i,description:a,btn:c,closable:s=!0,closeIcon:l,className:u}=e,f=sf(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:d}=ei.useContext(oL),h=t||d("notification"),p=`${h}-notice`,g=ch(h),[m,v,y]=sl(h,g);return m(ei.createElement("div",{className:ii()(`${p}-pure-panel`,v,n,y,g)},ei.createElement(su,{prefixCls:h}),ei.createElement(cn,Object.assign({},f,{prefixCls:h,eventKey:"pure",duration:null,closable:s,className:ii()({notificationClassName:u}),closeIcon:sd(h,l),content:ei.createElement(sp,{prefixCls:p,icon:r,type:o,message:i,description:a,btn:c})}))))}};["success","info","warning","error"].forEach(e=>{sj[e]=t=>sA(Object.assign(Object.assign({},t),{type:e}))});let s_=(e,t,n)=>void 0!==n?n:`${e}-${t}`,sM=(e,t)=>{let n=ei.useContext(o4);return[ei.useMemo(()=>{var r;let o=t||o0[e],i=null!=(r=null==n?void 0:n[e])?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})},[e,t,n]),ei.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?o0.locale:e},[n])]};function sP(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e]}),n}let sT=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1},sI=(e,t,n)=>ea().isValidElement(e)?ea().cloneElement(e,"function"==typeof n?n(e.props||{}):n):t,sF=e=>{let{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:`box-shadow 0.4s ${e.motionEaseOutCirc},opacity 2s ${e.motionEaseOutCirc}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut},opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}}}},sN=cR("Wave",e=>[sF(e)]),sR="ant-wave-target";function sL(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function sH(e){return Number.isNaN(e)?0:e}let sD=e=>{let{className:t,target:n,component:r,registerUnmount:o}=e,i=ei.useRef(null),a=ei.useRef(null);ei.useEffect(()=>{a.current=o()},[]);let[c,s]=ei.useState(null),[l,u]=ei.useState([]),[f,d]=ei.useState(0),[h,p]=ei.useState(0),[g,m]=ei.useState(0),[v,y]=ei.useState(0),[b,x]=ei.useState(!1),w={left:f,top:h,width:g,height:v,borderRadius:l.map(e=>`${e}px`).join(" ")};function C(){let e=getComputedStyle(n);s(function(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return sL(t)?t:sL(n)?n:sL(r)?r:null}(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;d(t?n.offsetLeft:sH(-parseFloat(r))),p(t?n.offsetTop:sH(-parseFloat(o))),m(n.offsetWidth),y(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:c,borderBottomRightRadius:l}=e;u([i,a,l,c].map(e=>sH(parseFloat(e))))}if(c&&(w["--wave-color"]=c),ei.useEffect(()=>{if(n){let e,t=i3(()=>{C(),x(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(C)).observe(n),()=>{i3.cancel(t),null==e||e.disconnect()}}},[]),!b)return null;let S=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(sR));return ei.createElement(an,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n,r;if(t.deadline||"opacity"===t.propertyName){let e=null==(n=i.current)?void 0:n.parentElement;null==(r=a.current)||r.call(a).then(()=>{null==e||e.remove()})}return!1}},(e,n)=>{let{className:r}=e;return ei.createElement("div",{ref:iv(i,n),className:ii()(t,r,{"wave-quick":S}),style:w})})},sB=(e,t)=>{var n;let{component:r}=t;if("Checkbox"===r&&!(null==(n=e.querySelector("input"))?void 0:n.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild);let i=null;i=aD(ei.createElement(sD,Object.assign({},t,{target:e,registerUnmount:function(){return i}})),o)},sz=(e,t,n)=>{let{wave:r}=ei.useContext(oL),[,o,i]=ok(),a=iP(a=>{let c=e.current;if((null==r?void 0:r.disabled)||!c)return;let s=c.querySelector(`.${sR}`)||c,{showEffect:l}=r||{};(l||sB)(s,{className:t,token:o,component:n,event:a,hashId:i})}),c=ei.useRef(null);return e=>{i3.cancel(c.current),c.current=i3(()=>{a(e)})}},sV=e=>{let{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=(0,ei.useContext)(oL),i=(0,ei.useRef)(null),a=o("wave"),[,c]=sN(a),s=sz(i,ii()(a,c),r);if(ea().useEffect(()=>{let e=i.current;if(!e||1!==e.nodeType||n)return;let t=t=>{!sT(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!ea().isValidElement(t))return null!=t?t:null;let l=ib(t)?iv(iw(t),i):i;return sI(t,t,{ref:l})},sq=e=>{let t=ea().useContext(o7);return ea().useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t])},sW=ei.createContext(null),sG=(e,t)=>{let n=ei.useContext(sW),r=ei.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return ii()(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},sU=e=>{let{children:t}=e;return ei.createElement(sW.Provider,{value:null},t)};var sK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let sX=ei.createContext(void 0),sY=/^[\u4E00-\u9FA5]{2}$/,sQ=sY.test.bind(sY);function sZ(e){return"danger"===e?{danger:!0}:{type:e}}function sJ(e){return"string"==typeof e}function s0(e){return"text"===e||"link"===e}let s1=(0,ei.forwardRef)((e,t)=>{let{className:n,style:r,children:o,prefixCls:i}=e,a=ii()(`${i}-icon`,n);return ea().createElement("span",{ref:t,className:a,style:r},o)}),s2=(0,ei.forwardRef)((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e,a=ii()(`${n}-loading-icon`,r);return ea().createElement(s1,{prefixCls:n,className:a,style:o,ref:t},ea().createElement(a8,{className:i}))}),s5=()=>({width:0,opacity:0,transform:"scale(0)"}),s4=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),s6=e=>{let{prefixCls:t,loading:n,existIcon:r,className:o,style:i,mount:a}=e;return r?ea().createElement(s2,{prefixCls:t,className:o,style:i}):ea().createElement(an,{visible:!!n,motionName:`${t}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:!0,onAppearStart:s5,onAppearActive:s4,onEnterStart:s5,onEnterActive:s4,onLeaveStart:s4,onLeaveActive:s5},(e,n)=>{let{className:r,style:a}=e,c=Object.assign(Object.assign({},i),a);return ea().createElement(s2,{prefixCls:t,className:ii()(o,r),style:c,ref:n})})},s3=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),s8=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},s3(`${t}-primary`,o),s3(`${t}-danger`,i)]}};var s9=["b"],s7=["v"],le=function(e){return Math.round(Number(e||0))},lt=function(e){if(e instanceof rp)return e;if(e&&"object"===s(e)&&"h"in e&&"b"in e){var t=e.b;return d(d({},tT(e,s9)),{},{v:t})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},ln=function(e){iO(n,e);var t=i_(n);function n(e){return ec(this,n),t.call(this,lt(e))}return el(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=le(100*e.s),n=le(100*e.b),r=le(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(2*(0!==o)),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v;return d(d({},tT(e,s7)),{},{b:t,a:this.a})}}]),n}(rp);(N="#1677ff")instanceof ln||new ln(N);let lr=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",lo=(e,t)=>e?lr(e,t):"",li=el(function e(t){var n;if(ec(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=null==(n=t.colors)?void 0:n.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let r=Array.isArray(t);r&&t.length?(this.colors=t.map(t=>{let{color:n,percent:r}=t;return{color:new e(n),percent:r}}),this.metaColor=new ln(this.colors[0].color.metaColor)):this.metaColor=new ln(r?"":t),t&&(!r||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)},[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return lo(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:e}=this;if(e){let t=e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(", ");return`linear-gradient(90deg, ${t})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!!e&&this.isGradient()===e.isGradient()&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,n)=>{let r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString())}}]),la=(e,t)=>{let{r:n,g:r,b:o,a:i}=e.toRgb(),a=new ln(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*n+.587*r+.114*o>192},lc=e=>{let{paddingInline:t,onlyIconSize:n}=e;return cj(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},ls=e=>{var t,n,r,o,i,a;let c=null!=(t=e.contentFontSize)?t:e.fontSize,s=null!=(n=e.contentFontSizeSM)?n:e.fontSize,l=null!=(r=e.contentFontSizeLG)?r:e.fontSizeLG,u=null!=(o=e.contentLineHeight)?o:(c+8)/c,f=null!=(i=e.contentLineHeightSM)?i:(s+8)/s,d=null!=(a=e.contentLineHeightLG)?a:(l+8)/l,h=la(new li(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:h,contentFontSize:c,contentFontSizeSM:s,contentFontSizeLG:l,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-c*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-l*d)/2-e.lineWidth,0)}},ll=e=>{let{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:i,motionEaseInOut:a,marginXS:c,calc:s}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ny(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:ag(),"> a":{color:"currentColor"},"&:not(:disabled)":ab(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(e=>`${e} ${i} ${a}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(c).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(c).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(c).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(c).mul(-1).equal()}}}}}},lu=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),lf=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ld=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),lh=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),lp=(e,t,n,r,o,i,a,c)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},lu(e,Object.assign({background:t},a),Object.assign({background:t},c))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),lg=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},lh(e))}),lm=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),lv=(e,t,n,r)=>Object.assign(Object.assign({},(r&&["link","text"].includes(r)?lm:lg)(e)),lu(e.componentCls,t,n)),ly=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},lv(e,r,o))}),lb=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},lv(e,r,o))}),lx=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),lw=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},lv(e,n,r))}),lC=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},lv(e,r,o,n))}),lS=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},ly(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),lx(e)),lw(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),lC(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),lp(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),lk=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},lb(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),lx(e)),lw(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),lC(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),lp(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),lE=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},ly(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),lb(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),lx(e)),lw(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),lC(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),lC(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),lp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),lO=e=>{let{componentCls:t}=e;return{[`${t}-color-default`]:lS(e),[`${t}-color-primary`]:lk(e),[`${t}-color-dangerous`]:lE(e)}},l$=e=>Object.assign(Object.assign(Object.assign(Object.assign({},lb(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),lC(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),ly(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),lC(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),lA=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,borderRadius:i,buttonPaddingHorizontal:a,iconCls:c,buttonPaddingVertical:s,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:o,height:r,padding:`${ny(s)} ${ny(a)}`,borderRadius:i,[`&${n}-icon-only`]:{width:r,[c]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${n}${n}-circle${t}`]:lf(e)},{[`${n}${n}-round${t}`]:ld(e)}]},lj=e=>lA(cj(e,{fontSize:e.contentFontSize}),e.componentCls),l_=e=>lA(cj(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),`${e.componentCls}-sm`),lM=e=>lA(cj(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),`${e.componentCls}-lg`),lP=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},lT=cN("Button",e=>{let t=lc(e);return[ll(t),lj(t),l_(t),lM(t),lP(t),lO(t),l$(t),s8(t)]},ls,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),lI=e=>{let{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,i=o(r).mul(-1).equal(),a=e=>({[`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:n,content:'""',width:e?"100%":r,height:e?r:"100%"}}});return Object.assign(Object.assign({},a()),a(!0))},lF=cL(["Button","compact"],e=>{let t=lc(e);return[function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},function(e,t,n){let{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",c=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>`&:${e} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}(e,r,t)),function(e,t,n){let{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(n,r,t))}}(t),function(e){var t;let n=`${e.componentCls}-compact-vertical`;return{[n]:Object.assign(Object.assign({},{[`&-item:not(${n}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(t=e.componentCls,{[`&-item:not(${n}-first-item):not(${n}-last-item)`]:{borderRadius:0},[`&-item${n}-first-item:not(${n}-last-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${n}-last-item:not(${n}-first-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(t),lI(t)]},ls);var lN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let lR={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},lL=ea().forwardRef((e,t)=>{var n,r,o,i;let{loading:a=!1,prefixCls:c,color:s,variant:l,type:u,danger:f=!1,shape:d="default",size:h,styles:p,disabled:g,className:m,rootClassName:v,children:y,icon:b,iconPosition:x="start",ghost:w=!1,block:C=!1,htmlType:S="button",classNames:k,style:E={},autoInsertSpace:O,autoFocus:$}=e,A=lN(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),j=u||"default",[_,M]=(0,ei.useMemo)(()=>{if(s&&l)return[s,l];let e=lR[j]||[];return f?["danger",e[1]]:e},[u,s,l,f]),P="danger"===_?"dangerous":_,{getPrefixCls:T,direction:I,button:F}=(0,ei.useContext)(oL),N=null==(n=null!=O?O:null==F?void 0:F.autoInsertSpace)||n,R=T("btn",c),[L,H,D]=lT(R),B=(0,ei.useContext)(o8),z=null!=g?g:B,V=(0,ei.useContext)(sX),q=(0,ei.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}})(a),[a]),[W,G]=(0,ei.useState)(q.loading),[U,K]=(0,ei.useState)(!1),X=(0,ei.useRef)(null),Y=iy(t,X),Q=1===ei.Children.count(y)&&!b&&!s0(M),Z=(0,ei.useRef)(!0);ea().useEffect(()=>(Z.current=!1,()=>{Z.current=!0}),[]),(0,ei.useEffect)(()=>{let e=null;return q.delay>0?e=setTimeout(()=>{e=null,G(!0)},q.delay):G(q.loading),function(){e&&(clearTimeout(e),e=null)}},[q]),(0,ei.useEffect)(()=>{if(!X.current||!N)return;let e=X.current.textContent||"";Q&&sQ(e)?U||K(!0):U&&K(!1)}),(0,ei.useEffect)(()=>{$&&X.current&&X.current.focus()},[]);let J=ea().useCallback(t=>{var n;if(W||z)return void t.preventDefault();null==(n=e.onClick)||n.call(e,t)},[e.onClick,W,z]),{compactSize:ee,compactItemClassnames:et}=sG(R,I),en=sq(e=>{var t,n;return null!=(n=null!=(t=null!=h?h:ee)?t:V)?n:e}),er=en&&null!=(r=({large:"lg",small:"sm",middle:void 0})[en])?r:"",eo=W?"loading":b,ec=sP(A,["navigate"]),es=ii()(R,H,D,{[`${R}-${d}`]:"default"!==d&&d,[`${R}-${j}`]:j,[`${R}-dangerous`]:f,[`${R}-color-${P}`]:P,[`${R}-variant-${M}`]:M,[`${R}-${er}`]:er,[`${R}-icon-only`]:!y&&0!==y&&!!eo,[`${R}-background-ghost`]:w&&!s0(M),[`${R}-loading`]:W,[`${R}-two-chinese-chars`]:U&&N&&!W,[`${R}-block`]:C,[`${R}-rtl`]:"rtl"===I,[`${R}-icon-end`]:"end"===x},et,m,v,null==F?void 0:F.className),el=Object.assign(Object.assign({},null==F?void 0:F.style),E),eu=ii()(null==k?void 0:k.icon,null==(o=null==F?void 0:F.classNames)?void 0:o.icon),ef=Object.assign(Object.assign({},(null==p?void 0:p.icon)||{}),(null==(i=null==F?void 0:F.styles)?void 0:i.icon)||{}),ed=b&&!W?ea().createElement(s1,{prefixCls:R,className:eu,style:ef},b):ea().createElement(s6,{existIcon:!!b,prefixCls:R,loading:W,mount:Z.current}),eh=y||0===y?function(e,t){let n=!1,r=[];return ea().Children.forEach(e,e=>{let t=typeof e,o="string"===t||"number"===t;if(n&&o){let t=r.length-1,n=r[t];r[t]=`${n}${e}`}else r.push(e);n=o}),ea().Children.map(r,e=>(function(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&sJ(e.type)&&sQ(e.props.children)?sI(e,e,{children:e.props.children.split("").join(n)}):sJ(e)?sQ(e)?ea().createElement("span",null,e.split("").join(n)):ea().createElement("span",null,e):e&&ea().isValidElement(e)&&e.type===ea().Fragment?ea().createElement("span",null,e):e})(e,t))}(y,Q&&N):null;if(void 0!==ec.href)return L(ea().createElement("a",Object.assign({},ec,{className:ii()(es,{[`${R}-disabled`]:z}),href:z?void 0:ec.href,style:el,onClick:J,ref:Y,tabIndex:z?-1:0}),ed,eh));let ep=ea().createElement("button",Object.assign({},A,{type:S,className:es,style:el,onClick:J,disabled:z,ref:Y}),ed,eh,et&&ea().createElement(lF,{prefixCls:R}));return s0(M)||(ep=ea().createElement(sV,{component:"Button",disabled:W},ep)),L(ep)});function lH(e){return!!(null==e?void 0:e.then)}lL.Group=e=>{let{getPrefixCls:t,direction:n}=ei.useContext(oL),{prefixCls:r,size:o,className:i}=e,a=sK(e,["prefixCls","size","className"]),c=t("btn-group",r),[,,s]=ok(),l="";switch(o){case"large":l="lg";break;case"small":l="sm"}let u=ii()(c,{[`${c}-${l}`]:l,[`${c}-rtl`]:"rtl"===n},i,s);return ei.createElement(sX.Provider,{value:o},ei.createElement("div",Object.assign({},a,{className:u})))},lL.__ANT_BUTTON=!0;let lD=e=>{let{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:a,emitEvent:c,isSilent:s,quitOnNullishReturnValue:l,actionFn:u}=e,f=ei.useRef(!1),d=ei.useRef(null),[h,p]=iT(!1),g=function(){null==i||i.apply(void 0,arguments)};ei.useEffect(()=>{let e=null;return a&&(e=setTimeout(()=>{var e;null==(e=d.current)||e.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[]);let m=e=>{lH(e)&&(p(!0),e.then(function(){p(!1,!0),g.apply(void 0,arguments),f.current=!1},e=>{if(p(!1,!0),f.current=!1,null==s||!s())return Promise.reject(e)}))};return ei.createElement(lL,Object.assign({},sZ(t),{onClick:e=>{let t;if(!f.current){if(f.current=!0,!u)return void g();if(c){if(t=u(e),l&&!lH(t)){f.current=!1,g(e);return}}else if(u.length)t=u(i),f.current=!1;else if(!lH(t=u()))return void g();m(t)}},loading:h,prefixCls:r},o,{ref:d}),n)},lB=ea().createContext({}),{Provider:lz}=lB,lV=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:i,close:a,onCancel:c,onConfirm:s}=(0,ei.useContext)(lB);return o?ea().createElement(lD,{isSilent:r,actionFn:c,close:function(){null==a||a.apply(void 0,arguments),null==s||s(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${i}-btn`},n):null},lq=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:i,okType:a,onConfirm:c,onOk:s}=(0,ei.useContext)(lB);return ea().createElement(lD,{isSilent:n,type:a||"primary",actionFn:s,close:function(){null==t||t.apply(void 0,arguments),null==c||c(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},i)};var lW=ei.createContext(null),lG=[],lU="rc-util-locker-".concat(Date.now()),lK=0,lX=function(e){return!1!==e&&(tz()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},lY=ei.forwardRef(function(e,t){var n,r,o=e.open,i=e.autoLock,a=e.getContainer,c=(e.debug,e.autoDestroy),s=void 0===c||c,l=e.children,u=tL(ei.useState(o),2),f=u[0],d=u[1],h=f||o;ei.useEffect(function(){(s||o)&&d(o)},[o,s]);var p=tL(ei.useState(function(){return lX(a)}),2),g=p[0],m=p[1];ei.useEffect(function(){var e=lX(a);m(null!=e?e:null)});var v=function(e,t){var n=tL(ei.useState(function(){return tz()?document.createElement("div"):null}),1)[0],r=ei.useRef(!1),o=ei.useContext(lW),i=tL(ei.useState(lG),2),a=i[0],c=i[1],s=o||(r.current?void 0:function(e){c(function(t){return[e].concat(tD(t))})});function l(){n.parentElement||document.body.appendChild(n),r.current=!0}function u(){var e;null==(e=n.parentElement)||e.removeChild(n),r.current=!1}return nS(function(){return e?o?o(l):l():u(),u},[e]),nS(function(){a.length&&(a.forEach(function(e){return e()}),c(lG))},[a]),[n,s]}(h&&!g,0),y=tL(v,2),b=y[0],x=y[1],w=null!=g?g:b;nS(function(){if(n){var e,t=(e=document.body,"undefined"==typeof document||!e||!(e instanceof Element)?{width:0,height:0}:function(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=r;var i=o.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var c=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(c.width,10),l=parseInt(c.height,10);try{var u=s?"width: ".concat(c.width,";"):"",f=l?"height: ".concat(c.height,";"):"";tJ("\n#".concat(r,"::-webkit-scrollbar {\n").concat(u,"\n").concat(f,"\n}"),r)}catch(e){console.error(e),t=s,n=l}}document.body.appendChild(o);var d=e&&t&&!isNaN(t)?t:o.offsetWidth-o.clientWidth,h=e&&n&&!isNaN(n)?n:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),tZ(r),{width:d,height:h}}(e)).width,o=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;tJ("\nhtml body {\n overflow-y: hidden;\n ".concat(o?"width: calc(100% - ".concat(t,"px);"):"","\n}"),r)}else tZ(r);return function(){tZ(r)}},[n=!!(i&&o&&tz()&&(w===b||w===document.body)),r=tL(ei.useState(function(){return lK+=1,"".concat(lU,"_").concat(lK)}),1)[0]]);var C=null;l&&ib(l)&&t&&(C=l.ref);var S=iy(C,t);if(!h||!tz()||void 0===g)return null;var k=!1===w,E=l;return t&&(E=ei.cloneElement(l,{ref:S})),ei.createElement(lW.Provider,{value:x},k?E:(0,ia.createPortal)(E,w))}),lQ=ei.createContext({}),lZ=0,lJ=d({},ei).useId;let l0=lJ?function(e){var t=lJ();return e||t}:function(e){var t=tL(ei.useState("ssr-id"),2),n=t[0],r=t[1];return(ei.useEffect(function(){var e=lZ;lZ+=1,r("rc_unique_".concat(e))},[]),e)?e:n};function l1(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function l2(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}let l5=ei.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate});var l4={width:0,height:0,overflow:"hidden",outline:"none"},l6={outline:"none"},l3=ea().forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,c=e.footer,l=e.closable,u=e.closeIcon,f=e.onClose,h=e.children,p=e.bodyStyle,g=e.bodyProps,m=e.modalRender,v=e.onMouseDown,y=e.onMouseUp,b=e.holderRef,x=e.visible,w=e.forceRender,C=e.width,S=e.height,k=e.classNames,E=e.styles,O=iy(b,ea().useContext(lQ).panel),$=(0,ei.useRef)(),A=(0,ei.useRef)();ea().useImperativeHandle(t,function(){return{focus:function(){var e;null==(e=$.current)||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===A.current?$.current.focus({preventScroll:!0}):e||t!==$.current||A.current.focus({preventScroll:!0})}}});var j={};void 0!==C&&(j.width=C),void 0!==S&&(j.height=S);var _=c?ea().createElement("div",{className:ii()("".concat(n,"-footer"),null==k?void 0:k.footer),style:d({},null==E?void 0:E.footer)},c):null,M=i?ea().createElement("div",{className:ii()("".concat(n,"-header"),null==k?void 0:k.header),style:d({},null==E?void 0:E.header)},ea().createElement("div",{className:"".concat(n,"-title"),id:a},i)):null,P=(0,ei.useMemo)(function(){return"object"===s(l)&&null!==l?l:l?{closeIcon:null!=u?u:ea().createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,u,n]),T=ct(P,!0),I="object"===s(l)&&l.disabled,F=l?ea().createElement("button",tm({type:"button",onClick:f,"aria-label":"Close"},T,{className:"".concat(n,"-close"),disabled:I}),P.closeIcon):null,N=ea().createElement("div",{className:ii()("".concat(n,"-content"),null==k?void 0:k.content),style:null==E?void 0:E.content},F,M,ea().createElement("div",tm({className:ii()("".concat(n,"-body"),null==k?void 0:k.body),style:d(d({},p),null==E?void 0:E.body)},g),h),_);return ea().createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:O,style:d(d({},o),j),className:ii()(n,r),onMouseDown:v,onMouseUp:y},ea().createElement("div",{ref:$,tabIndex:0,style:l6},ea().createElement(l5,{shouldUpdate:x||w},m?m(N):N)),ea().createElement("div",{tabIndex:0,ref:A,style:l4}))}),l8=ei.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,c=e.forceRender,s=e.destroyOnClose,l=e.motionName,u=e.ariaId,f=e.onVisibleChanged,h=e.mousePosition,p=(0,ei.useRef)(),g=tL(ei.useState(),2),m=g[0],v=g[1],y={};function b(){var e,t,n,r,o,i=(n={left:(t=(e=p.current).getBoundingClientRect()).left,top:t.top},o=(r=e.ownerDocument).defaultView||r.parentWindow,n.left+=l2(o),n.top+=l2(o,!0),n);v(h&&(h.x||h.y)?"".concat(h.x-i.left,"px ").concat(h.y-i.top,"px"):"")}return m&&(y.transformOrigin=m),ei.createElement(an,{visible:a,onVisibleChanged:f,onAppearPrepare:b,onEnterPrepare:b,forceRender:c,motionName:l,removeOnLeave:s,ref:p},function(a,c){var s=a.className,l=a.style;return ei.createElement(l3,tm({},e,{ref:t,title:r,ariaId:u,prefixCls:n,holderRef:c,style:d(d(d({},l),o),y),className:ii()(i,s)}))})});l8.displayName="Content";let l9=function(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return ei.createElement(an,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},function(e,r){var i=e.className,c=e.style;return ei.createElement("div",tm({ref:r,style:d(d({},c),n),className:ii()("".concat(t,"-mask"),i,a)},o))})},l7=function(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,i=void 0!==o&&o,a=e.keyboard,c=void 0===a||a,s=e.focusTriggerAfterClose,l=void 0===s||s,u=e.wrapStyle,f=e.wrapClassName,h=e.wrapProps,p=e.onClose,g=e.afterOpenChange,m=e.afterClose,v=e.transitionName,y=e.animation,b=e.closable,x=e.mask,w=void 0===x||x,C=e.maskTransitionName,S=e.maskAnimation,k=e.maskClosable,E=e.maskStyle,O=e.maskProps,$=e.rootClassName,A=e.classNames,j=e.styles,_=(0,ei.useRef)(),M=(0,ei.useRef)(),P=(0,ei.useRef)(),T=tL(ei.useState(i),2),I=T[0],F=T[1],N=l0();function R(e){null==p||p(e)}var L=(0,ei.useRef)(!1),H=(0,ei.useRef)(),D=null;(void 0===k||k)&&(D=function(e){L.current?L.current=!1:M.current===e.target&&R(e)}),(0,ei.useEffect)(function(){i&&(F(!0),tV(M.current,document.activeElement)||(_.current=document.activeElement))},[i]),(0,ei.useEffect)(function(){return function(){clearTimeout(H.current)}},[]);var B=d(d(d({zIndex:r},u),null==j?void 0:j.wrapper),{},{display:I?null:"none"});return ei.createElement("div",tm({className:ii()("".concat(n,"-root"),$)},ct(e,{data:!0})),ei.createElement(l9,{prefixCls:n,visible:w&&i,motionName:l1(n,C,S),style:d(d({zIndex:r},E),null==j?void 0:j.mask),maskProps:O,className:null==A?void 0:A.mask}),ei.createElement("div",tm({tabIndex:-1,onKeyDown:function(e){if(c&&e.keyCode===a9.ESC){e.stopPropagation(),R(e);return}i&&e.keyCode===a9.TAB&&P.current.changeActive(!e.shiftKey)},className:ii()("".concat(n,"-wrap"),f,null==A?void 0:A.wrapper),ref:M,onClick:D,style:B},h),ei.createElement(l8,tm({},e,{onMouseDown:function(){clearTimeout(H.current),L.current=!0},onMouseUp:function(){H.current=setTimeout(function(){L.current=!1})},ref:P,closable:void 0===b||b,ariaId:N,prefixCls:n,visible:i&&I,onClose:R,onVisibleChanged:function(e){if(e){if(!tV(M.current,document.activeElement)){var t;null==(t=P.current)||t.focus()}}else{if(F(!1),w&&_.current&&l){try{_.current.focus({preventScroll:!0})}catch(e){}_.current=null}I&&(null==m||m())}null==g||g(e)},motionName:l1(n,v,y)}))))};var ue=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,a=e.afterClose,c=e.panelRef,s=tL(ei.useState(t),2),l=s[0],u=s[1],f=ei.useMemo(function(){return{panel:c}},[c]);return(ei.useEffect(function(){t&&u(!0)},[t]),r||!i||l)?ei.createElement(lQ.Provider,{value:f},ei.createElement(lY,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:t||l},ei.createElement(l7,tm({},e,{destroyOnClose:i,afterClose:function(){null==a||a(),u(!1)}})))):null};ue.displayName="Dialog";var ut="RC_FORM_INTERNAL_HOOKS",un=function(){t3(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},ur=ei.createContext({getFieldValue:un,getFieldsValue:un,getFieldError:un,getFieldWarning:un,getFieldsError:un,isFieldsTouched:un,isFieldTouched:un,isFieldValidating:un,isFieldsValidating:un,resetFields:un,setFields:un,setFieldValue:un,setFieldsValue:un,validateFields:un,submit:un,getInternalHooks:function(){return un(),{dispatch:un,initEntityValue:un,registerField:un,useSubscribe:un,setInitialValues:un,destroyForm:un,setCallbacks:un,registerWatch:un,getFields:un,setValidateMessages:un,setPreserve:un,getInitialValue:un}}}),uo=ei.createContext(null);function ui(e){return null==e?[]:Array.isArray(e)?e:[e]}function ua(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var uc=ua();function us(e){var t="function"==typeof Map?new Map:void 0;return(us=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(iA())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&iE(o,n.prototype),o}(e,arguments,i$(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),iE(n,e)})(e)}var ul=/%[sdj%]/g;function uu(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function uf(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}default:return e}}):e}function ud(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e||!1}function uh(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)return void n(a);var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},uw={integer:function(e){return uw.number(e)&&parseInt(e,10)===e},float:function(e){return uw.number(e)&&!uw.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===s(e)&&!uw.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(ux.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(ub())},hex:function(e){return"string"==typeof e&&!!e.match(ux.hex)}};let uC={required:uy,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(uf(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)return void uy(e,t,n,r,o);var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?uw[i](t)||r.push(uf(o.messages.types[i],e.fullField,e.type)):i&&s(t)!==e.type&&r.push(uf(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,c="number"==typeof e.max,s=t,l=null,u="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(u?l="number":f?l="string":d&&(l="array"),!l)return!1;d&&(s=t.length),f&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(uf(o.messages[l].len,e.fullField,e.len)):a&&!c&&se.max?r.push(uf(o.messages[l].max,e.fullField,e.max)):a&&c&&(se.max)&&r.push(uf(o.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[uv]=Array.isArray(e[uv])?e[uv]:[],-1===e[uv].indexOf(t)&&r.push(uf(o.messages[uv],e.fullField,e[uv].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(uf(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(uf(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},uS=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t,i)&&!e.required)return n();uC.required(e,t,r,a,o,i),ud(t,i)||uC.type(e,t,r,a,o)}n(a)},uk={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t,"string")&&!e.required)return n();uC.required(e,t,r,i,o,"string"),ud(t,"string")||(uC.type(e,t,r,i,o),uC.range(e,t,r,i,o),uC.pattern(e,t,r,i,o),!0===e.whitespace&&uC.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&uC.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&(uC.type(e,t,r,i,o),uC.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&uC.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),ud(t)||uC.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&(uC.type(e,t,r,i,o),uC.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&(uC.type(e,t,r,i,o),uC.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();uC.required(e,t,r,i,o,"array"),null!=t&&(uC.type(e,t,r,i,o),uC.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&uC.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o),void 0!==t&&uC.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t,"string")&&!e.required)return n();uC.required(e,t,r,i,o),ud(t,"string")||uC.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t,"date")&&!e.required)return n();uC.required(e,t,r,a,o),!ud(t,"date")&&(i=t instanceof Date?t:new Date(t),uC.type(e,i,r,a,o),i&&uC.range(e,i.getTime(),r,a,o))}n(a)},url:uS,hex:uS,email:uS,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":s(t);uC.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ud(t)&&!e.required)return n();uC.required(e,t,r,i,o)}n(i)}};var uE=function(){function e(t){ec(this,e),u(this,"rules",null),u(this,"_messages",uc),this.define(t)}return el(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==s(e)||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(e){return e&&(this._messages=um(ua(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=t,a=r,c=o;if("function"==typeof a&&(c=a,a={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(null,i),Promise.resolve(i);if(a.messages){var l=this.messages();l===uc&&(l=ua()),um(l,a.messages),a.messages=l}else a.messages=this.messages();var u={};(a.keys||Object.keys(this.rules)).forEach(function(e){var r=n.rules[e],o=i[e];r.forEach(function(r){var a=r;"function"==typeof a.transform&&(i===t&&(i=d({},i)),null!=(o=i[e]=a.transform(o))&&(a.type=a.type||(Array.isArray(o)?"array":s(o)))),(a="function"==typeof a?{validator:a}:d({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),u[e]=u[e]||[],u[e].push({rule:a,value:o,source:i,field:e}))})});var f={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;uh((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,tD(e[t]||[]))}),a),n,function(e){return r(e),e.length?i(new up(e,uu(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],c=Object.keys(e),s=c.length,l=0,u=[],f=new Promise(function(t,i){var f=function(e){if(u.push.apply(u,e),++l===s)return r(u),u.length?i(new up(u,uu(u))):t(o)};c.length||(r(u),t(o)),c.forEach(function(t){var r=e[t];if(-1!==a.indexOf(t))uh(r,n,f);else{var o=[],i=0,c=r.length;function s(e){o.push.apply(o,tD(e||[])),++i===c&&f(o)}r.forEach(function(e){n(e,s)})}})});return f.catch(function(e){return e}),f}(u,a,function(t,n){var r,o,c,l=t.rule,u=("object"===l.type||"array"===l.type)&&("object"===s(l.fields)||"object"===s(l.defaultField));function h(e,t){return d(d({},t),{},{fullField:"".concat(l.fullField,".").concat(e),fullFields:l.fullFields?[].concat(tD(l.fullFields),[e]):[e]})}function p(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Array.isArray(r)?r:[r];!a.suppressWarning&&o.length&&e.warning("async-validator:",o),o.length&&void 0!==l.message&&(o=[].concat(l.message));var c=o.map(ug(l,i));if(a.first&&c.length)return f[l.field]=1,n(c);if(u){if(l.required&&!t.value)return void 0!==l.message?c=[].concat(l.message).map(ug(l,i)):a.error&&(c=[a.error(l,uf(a.messages.required,l.field))]),n(c);var s={};l.defaultField&&Object.keys(t.value).map(function(e){s[e]=l.defaultField});var p={};Object.keys(s=d(d({},s),t.rule.fields)).forEach(function(e){var t=s[e],n=Array.isArray(t)?t:[t];p[e]=n.map(h.bind(null,e))});var g=new e(p);g.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),g.validate(t.value,t.rule.options||a,function(e){var t=[];c&&c.length&&t.push.apply(t,tD(c)),e&&e.length&&t.push.apply(t,tD(e)),n(t.length?t:null)})}else n(c)}if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)r=l.asyncValidator(l,t.value,p,t.source,a);else if(l.validator){try{r=l.validator(l,t.value,p,t.source,a)}catch(e){null==(o=(c=console).error)||o.call(c,e),a.suppressValidatorError||setTimeout(function(){throw e},0),p(e.message)}!0===r?p():!1===r?p("function"==typeof l.message?l.message(l.fullField||l.field):l.message||"".concat(l.fullField||l.field," fails")):r instanceof Array?p(r):r instanceof Error&&p(r.message)}r&&r.then&&r.then(function(){return p()},function(e){return p(e)})},function(e){!function(e){for(var t=[],n={},r=0;r2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return uN(t,e,n)})}function uN(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function uR(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===s(t.target)&&e in t.target?t.target[e]:t}function uL(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(tD(e.slice(0,n)),[o],tD(e.slice(n,t)),tD(e.slice(t+1,r))):i<0?[].concat(tD(e.slice(0,t)),tD(e.slice(t+1,n+1)),[o],tD(e.slice(n+1,r))):e}var uH=["name"],uD=[];function uB(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var uz=function(e){iO(n,e);var t=i_(n);function n(e){var r;return ec(this,n),u(ij(r=t.call(this,e)),"state",{resetCount:0}),u(ij(r),"cancelRegisterFunc",null),u(ij(r),"mounted",!1),u(ij(r),"touched",!1),u(ij(r),"dirty",!1),u(ij(r),"validatePromise",void 0),u(ij(r),"prevValidating",void 0),u(ij(r),"errors",uD),u(ij(r),"warnings",uD),u(ij(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,uT(o)),r.cancelRegisterFunc=null}),u(ij(r),"getNamePath",function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat(tD(void 0===n?[]:n),tD(t)):[]}),u(ij(r),"getRules",function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})}),u(ij(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),u(ij(r),"metaCache",null),u(ij(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=d(d({},r.getMeta()),{},{destroy:e});t8(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),u(ij(r),"onStoreChange",function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,c=void 0===a?[]:a,s=o.onReset,l=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(l),h=t&&uF(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&!t8(f,d)&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=uD,r.warnings=uD,r.triggerMetaEvent()),n.type){case"reset":if(!t||h){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=uD,r.warnings=uD,r.triggerMetaEvent(),null==s||s(),r.refresh();return}break;case"remove":if(i&&uB(i,e,l,f,d,n))return void r.reRender();break;case"setField":var p=n.data;if(h){"touched"in p&&(r.touched=p.touched),"validating"in p&&!("originRCField"in p)&&(r.validatePromise=p.validating?Promise.resolve([]):null),"errors"in p&&(r.errors=p.errors||uD),"warnings"in p&&(r.warnings=p.warnings||uD),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in p&&uF(t,u,!0)||i&&!u.length&&uB(i,e,l,f,d,n))return void r.reRender();break;case"dependenciesUpdate":if(c.map(uT).some(function(e){return uF(n.relatedFields,e)}))return void r.reRender();break;default:if(h||(!c.length||u.length||i)&&uB(i,e,l,f,d,n))return void r.reRender()}!0===i&&r.reRender()}),u(ij(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,c=Promise.resolve().then(aM(aj().mark(function o(){var a,s,l,u,f,h,p;return aj().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(l=void 0!==(s=(a=r.props).validateFirst)&&s,u=a.messageVariables,f=a.validateDebounce,h=r.getRules(),i&&(h=h.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||ui(t).includes(i)})),!(f&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,f)});case 8:if(r.validatePromise===c){o.next=10;break}return o.abrupt("return",[]);case 10:return(p=function(e,t,n,r,o,i){var a,c,s=e.join("."),l=n.map(function(e,t){var n=e.validator,r=d(d({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:uD;if(r.validatePromise===c){r.validatePromise=null;var t,n=[],o=[];null==(t=e.forEach)||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?uD:r;t?o.push.apply(o,tD(i)):n.push.apply(n,tD(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),o.abrupt("return",p);case 13:case"end":return o.stop()}},o)})));return void 0!==a&&a||(r.validatePromise=c,r.dirty=!0,r.errors=uD,r.warnings=uD,r.triggerMetaEvent(),r.reRender()),c}),u(ij(r),"isFieldValidating",function(){return!!r.validatePromise}),u(ij(r),"isFieldTouched",function(){return r.touched}),u(ij(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(ut).getInitialValue)(r.getNamePath())}),u(ij(r),"getErrors",function(){return r.errors}),u(ij(r),"getWarnings",function(){return r.warnings}),u(ij(r),"isListField",function(){return r.props.isListField}),u(ij(r),"isList",function(){return r.props.isList}),u(ij(r),"isPreserve",function(){return r.props.preserve}),u(ij(r),"getMeta",function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}}),u(ij(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return d(d({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return ea().Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?r=r.concat(e(t)):ip(t)&&t.props?r=r.concat(e(t.props.children,n)):r.push(t))}),r}(e);return 1===n.length&&ei.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),u(ij(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return oB(e||t(!0),n)}),u(ij(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,c=t.normalize,s=t.valuePropName,l=t.getValueProps,f=t.fieldContext,h=void 0!==i?i:f.validateTrigger,p=r.getNamePath(),g=f.getInternalHooks,m=f.getFieldsValue,v=g(ut).dispatch,y=r.getValue(),b=l||function(e){return u({},s,e)},x=e[o],w=void 0!==n?b(y):{},C=d(d({},e),w);return C[o]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach(function(n){n(t,r,e)})}}),u(this,"timeoutId",null),u(this,"warningUnhooked",function(){}),u(this,"updateStore",function(e){n.store=e}),u(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities}),u(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new uG;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),u(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=uT(e);return t.get(n)||{INVALIDATE_NAME_PATH:uT(e)}})}),u(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===s(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var r,o,i,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),c=[];return a.forEach(function(e){var t,n,a,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!=(a=e.isList)&&a.call(e))return}else if(!r&&null!=(t=(n=e).isListField)&&t.call(n))return;if(o){var l="getMeta"in e?e.getMeta():null;o(l)&&c.push(s)}else c.push(s)}),uI(n.store,c.map(uT))}),u(this,"getFieldValue",function(e){n.warningUnhooked();var t=uT(e);return oB(n.store,t)}),u(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:uT(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),u(this,"getFieldError",function(e){n.warningUnhooked();var t=uT(e);return n.getFieldsError([t])[0].errors}),u(this,"getFieldWarning",function(e){n.warningUnhooked();var t=uT(e);return n.getFieldsError([t])[0].warnings}),u(this,"isFieldsTouched",function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new uG,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,tD(tD(o).map(function(e){return e.entity})))})):e=o,e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))t3(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)t3(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.isListField()||t.skipExist&&void 0!==a||n.updateStore(oz(n.store,o,tD(i)[0].value))}}}})}),u(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore(oW(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(uT);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore(oz(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)}),u(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=tT(e,uU),a=uT(o);r.push(a),"value"in i&&n.updateStore(oz(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})}),n.notifyWatch(r)}),u(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=d(d({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r})}),u(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===oB(n.store,r)&&n.updateStore(oz(n.store,r,t))}}),u(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),u(this,"registerField",function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!uN(e.getNamePath(),t)})){var c=n.store;n.updateStore(oz(c,t,a,!0)),n.notifyObservers(c,[t],{type:"remove"}),n.triggerDependenciesUpdate(c,t)}}n.notifyWatch([t])}}),u(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}}),u(this,"notifyObservers",function(e,t,r){if(n.subscribable){var o=d(d({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()}),u(this,"triggerDependenciesUpdate",function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(tD(r))}),r}),u(this,"updateValue",function(e,t){var r=uT(e),o=n.store;n.updateStore(oz(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(uI(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat(tD(i)))}),u(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=oW(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),u(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t,errors:[],warnings:[]}])}),u(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],o=new uG;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=uT(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),!function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r}),u(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new uG;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}var a=o.filter(function(t){return uF(e,t.name)});a.length&&r(a,o)}}),u(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(a=e,c=t):c=e;var r,o,i,a,c,s=!!a,l=s?a.map(uT):[],u=[],f=String(Date.now()),h=new Set,p=c||{},g=p.recursive,m=p.dirty;n.getFieldEntities(!0).forEach(function(e){if((s||l.push(e.getNamePath()),e.props.rules&&e.props.rules.length)&&(!m||e.isFieldDirty())){var t=e.getNamePath();if(h.add(t.join(f)),!s||uF(l,t,g)){var r=e.validateRules(d({validateMessages:d(d({},u$),n.validateMessages)},c));u.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var n,r=[],o=[];return(null==(n=e.forEach)||n.call(e,function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,tD(n)):r.push.apply(r,tD(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}}))}}});var v=(r=!1,o=u.length,i=[],u.length?new Promise(function(e,t){u.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=v,v.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var y=v.then(function(){return n.lastValidatePromise===v?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:t,outOfDate:n.lastValidatePromise!==v})});y.catch(function(e){return e});var b=l.filter(function(e){return h.has(e.join(f))});return n.triggerOnFieldsChange(b),y}),u(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t});let uX=function(e){var t=ei.useRef(),n=tL(ei.useState({}),2)[1];return t.current||(e?t.current=e:t.current=new uK(function(){n({})}).getForm()),[t.current]};var uY=ei.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),uQ=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];function uZ(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var uJ=function(){},u0=ei.forwardRef(function(e,t){var n,r=e.name,o=e.initialValues,i=e.fields,a=e.form,c=e.preserve,l=e.children,u=e.component,f=void 0===u?"form":u,h=e.validateMessages,p=e.validateTrigger,g=void 0===p?"onChange":p,m=e.onValuesChange,v=e.onFieldsChange,y=e.onFinish,b=e.onFinishFailed,x=e.clearOnDestroy,w=tT(e,uQ),C=ei.useRef(null),S=ei.useContext(uY),k=tL(uX(a),1)[0],E=k.getInternalHooks(ut),O=E.useSubscribe,$=E.setInitialValues,A=E.setCallbacks,j=E.setValidateMessages,_=E.setPreserve,M=E.destroyForm;ei.useImperativeHandle(t,function(){return d(d({},k),{},{nativeElement:C.current})}),ei.useEffect(function(){return S.registerForm(r,k),function(){S.unregisterForm(r)}},[S,k,r]),j(d(d({},S.validateMessages),h)),A({onValuesChange:m,onFieldsChange:function(e){if(S.triggerFormChange(r,e),v){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o=0&&t<=n.length?(l.keys=[].concat(tD(l.keys.slice(0,t)),[l.id],tD(l.keys.slice(t))),o([].concat(tD(n.slice(0,t)),[e],tD(n.slice(t))))):(l.keys=[].concat(tD(l.keys),[l.id]),o([].concat(tD(n),[e]))),l.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(l.keys=l.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(l.keys=uL(l.keys,e,t),o(uL(n,e,t)))}}},t)})))},u0.useForm=uX,u0.useWatch=function(){for(var e=arguments.length,t=Array(e),n=0;n{let{children:t,status:n,override:r}=e,o=ei.useContext(u1),i=ei.useMemo(()=>{let e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,r,o]);return ei.createElement(u1.Provider,{value:i},t)},u5=e=>{let{space:t,form:n,children:r}=e;if(null==r)return null;let o=r;return n&&(o=ea().createElement(u2,{override:!0,status:!0},o)),t&&(o=ea().createElement(sU,null,o)),o};function u4(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function u6(e){let{closable:t,closeIcon:n}=e||{};return ea().useMemo(()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e},[t,n])}function u3(){let e={};for(var t=arguments.length,n=Array(t),r=0;r{t&&Object.keys(t).forEach(n=>{void 0!==t[n]&&(e[n]=t[n])})}),e}let u8={},u9=e=>{let{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=ii()({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),c=ii()({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),s=ei.useMemo(()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return ei.createElement("span",{className:ii()(t,a,c,n),style:Object.assign(Object.assign({},s),r)})},u7=new rc("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),fe=e=>({height:e,lineHeight:ny(e)}),ft=e=>Object.assign({width:e},fe(e)),fn=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:u7,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),fr=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},fe(e)),fo=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},ft(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},ft(o)),[`${t}${t}-sm`]:Object.assign({},ft(i))}},fi=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:c}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},fr(t,c)),[`${r}-lg`]:Object.assign({},fr(o,c)),[`${r}-sm`]:Object.assign({},fr(i,c))}},fa=e=>Object.assign({width:e},fe(e)),fc=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:o},fa(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},fa(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},fs=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},fl=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},fe(e)),fu=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:c}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:c(r).mul(2).equal(),minWidth:c(r).mul(2).equal()},fl(r,c))},fs(e,r,n)),{[`${n}-lg`]:Object.assign({},fl(o,c))}),fs(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},fl(i,c))}),fs(e,i,`${n}-sm`))},ff=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:c,controlHeight:s,controlHeightLG:l,controlHeightSM:u,gradientFromColor:f,padding:d,marginSM:h,borderRadius:p,titleHeight:g,blockRadius:m,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},ft(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},ft(l)),[`${n}-sm`]:Object.assign({},ft(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:g,background:f,borderRadius:m,[`+ ${o}`]:{marginBlockStart:u}},[o]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:f,borderRadius:m,"+ li":{marginBlockStart:y}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:p}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:h,[`+ ${o}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},fu(e)),fo(e)),fi(e)),fc(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${i}, - ${a}, - ${c} - `]:Object.assign({},fn(e))}}},fd=cN("Skeleton",e=>{let{componentCls:t,calc:n}=e;return[ff(cj(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"}))]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),fh=(e,t)=>{let{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},fp=e=>{let{prefixCls:t,className:n,style:r,rows:o}=e,i=tD(Array(o)).map((t,n)=>ei.createElement("li",{key:n,style:{width:fh(n,e)}}));return ei.createElement("ul",{className:ii()(t,n),style:r},i)},fg=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return ei.createElement("h3",{className:ii()(t,n),style:Object.assign({width:r},o)})};function fm(e){return e&&"object"==typeof e?e:{}}let fv=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:c=!1,title:s=!0,paragraph:l=!0,active:u,round:f}=e,{getPrefixCls:d,direction:h,skeleton:p}=ei.useContext(oL),g=d("skeleton",t),[m,v,y]=fd(g);if(n||!("loading"in e)){let e,t,n=!!c,a=!!s,d=!!l;if(n){let t=Object.assign(Object.assign({prefixCls:`${g}-avatar`},a&&!d?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),fm(c));e=ei.createElement("div",{className:`${g}-header`},ei.createElement(u9,Object.assign({},t)))}if(a||d){let e,r;if(a){let t=Object.assign(Object.assign({prefixCls:`${g}-title`},!n&&d?{width:"38%"}:n&&d?{width:"50%"}:{}),fm(s));e=ei.createElement(fg,Object.assign({},t))}if(d){let e=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,a)),fm(l));r=ei.createElement(fp,Object.assign({},e))}t=ei.createElement("div",{className:`${g}-content`},e,r)}let b=ii()(g,{[`${g}-with-avatar`]:n,[`${g}-active`]:u,[`${g}-rtl`]:"rtl"===h,[`${g}-round`]:f},null==p?void 0:p.className,r,o,v,y);return m(ei.createElement("div",{className:b,style:Object.assign(Object.assign({},null==p?void 0:p.style),i)},e,t))}return null!=a?a:null};function fy(){}fv.Button=e=>{let{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:c}=ei.useContext(oL),s=c("skeleton",t),[l,u,f]=fd(s),d=sP(e,["prefixCls"]),h=ii()(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,f);return l(ei.createElement("div",{className:h},ei.createElement(u9,Object.assign({prefixCls:`${s}-button`,size:a},d))))},fv.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:c}=ei.useContext(oL),s=c("skeleton",t),[l,u,f]=fd(s),d=sP(e,["prefixCls","className"]),h=ii()(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,f);return l(ei.createElement("div",{className:h},ei.createElement(u9,Object.assign({prefixCls:`${s}-avatar`,shape:i,size:a},d))))},fv.Input=e=>{let{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:c}=ei.useContext(oL),s=c("skeleton",t),[l,u,f]=fd(s),d=sP(e,["prefixCls"]),h=ii()(s,`${s}-element`,{[`${s}-active`]:o,[`${s}-block`]:i},n,r,u,f);return l(ei.createElement("div",{className:h},ei.createElement(u9,Object.assign({prefixCls:`${s}-input`,size:a},d))))},fv.Image=e=>{let{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=ei.useContext(oL),c=a("skeleton",t),[s,l,u]=fd(c),f=ii()(c,`${c}-element`,{[`${c}-active`]:i},n,r,l,u);return s(ei.createElement("div",{className:f},ei.createElement("div",{className:ii()(`${c}-image`,n),style:o},ei.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${c}-image-svg`},ei.createElement("title",null,"Image placeholder"),ei.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${c}-image-path`})))))},fv.Node=e=>{let{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:c}=ei.useContext(oL),s=c("skeleton",t),[l,u,f]=fd(s),d=ii()(s,`${s}-element`,{[`${s}-active`]:i},u,n,r,f);return l(ei.createElement("div",{className:d},ei.createElement("div",{className:ii()(`${s}-image`,n),style:o},a)))};let fb=ei.createContext({add:fy,remove:fy}),fx=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,ei.useContext)(lB);return ea().createElement(lL,Object.assign({onClick:n},e),t)},fw=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=(0,ei.useContext)(lB);return ea().createElement(lL,Object.assign({},sZ(n),{loading:e,onClick:o},t),r)};function fC(e,t){return ea().createElement("span",{className:`${e}-close-x`},t||ea().createElement(cW,{className:`${e}-close-icon`}))}let fS=e=>{let t,{okText:n,okType:r="primary",cancelText:o,confirmLoading:i,onOk:a,onCancel:c,okButtonProps:s,cancelButtonProps:l,footer:u}=e,[f]=sM("Modal",o1),d={confirmLoading:i,okButtonProps:s,cancelButtonProps:l,okTextLocale:n||(null==f?void 0:f.okText),cancelTextLocale:o||(null==f?void 0:f.cancelText),okType:r,onOk:a,onCancel:c},h=ea().useMemo(()=>d,tD(Object.values(d)));return"function"==typeof u||void 0===u?(t=ea().createElement(ea().Fragment,null,ea().createElement(fx,null),ea().createElement(fw,null)),"function"==typeof u&&(t=u(t,{OkBtn:fw,CancelBtn:fx})),t=ea().createElement(lz,{value:h},t)):t=u,ea().createElement(o9,{disabled:!1},t)},fk=e=>({animationDuration:e,animationFillMode:"both"}),fE=e=>({animationDuration:e,animationFillMode:"both"}),fO=function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=o?"&":"";return{[` - ${i}${e}-enter, - ${i}${e}-appear - `]:Object.assign(Object.assign({},fk(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},fE(r)),{animationPlayState:"paused"}),[` - ${i}${e}-enter${e}-enter-active, - ${i}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},f$=new rc("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),fA=new rc("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),fj=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[fO(r,f$,fA,e.motionDurationMid,t),{[` - ${o}${r}-enter, - ${o}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},f_=new rc("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),fM=new rc("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),fP=new rc("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),fT=new rc("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),fI=new rc("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),fF=new rc("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),fN=new rc("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),fR=new rc("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),fL=new rc("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),fH=new rc("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),fD={zoom:{inKeyframes:f_,outKeyframes:fM},"zoom-big":{inKeyframes:fP,outKeyframes:fT},"zoom-big-fast":{inKeyframes:fP,outKeyframes:fT},"zoom-left":{inKeyframes:fN,outKeyframes:fR},"zoom-right":{inKeyframes:fL,outKeyframes:fH},"zoom-up":{inKeyframes:fI,outKeyframes:fF},"zoom-down":{inKeyframes:new rc("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new rc("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},fB=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=fD[t];return[fO(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function fz(e){return{position:e,inset:0}}let fV=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},fz("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},fz("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:fj(e)}]},fq=e=>{let{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ny(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},ap(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ny(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:ny(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},ab(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ny(e.borderRadiusLG)} ${ny(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${ny(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},fW=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},fG=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return cj(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},fU=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${ny(e.paddingMD)} ${ny(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ny(e.padding)} ${ny(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ny(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ny(e.paddingXS)} ${ny(e.padding)}`:0,footerBorderTop:e.wireframe?`${ny(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ny(e.borderRadiusLG)} ${ny(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ny(2*e.padding)} ${ny(2*e.padding)} ${ny(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),fK=cN("Modal",e=>{let t=fG(e);return[fq(t),fW(t),fV(t),fB(t,"zoom")]},fU,{unitless:{titleLineHeight:!0}});var fX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};tz()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{c={x:e.pageX,y:e.pageY},setTimeout(()=>{c=null},100)},!0);let fY=e=>{var t;let{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=ei.useContext(oL),a=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:s,className:l,rootClassName:u,open:f,wrapClassName:d,centered:h,getContainer:p,focusTriggerAfterClose:g=!0,style:m,visible:v,width:y=520,footer:b,classNames:x,styles:w,children:C,loading:S}=e,k=fX(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),E=r("modal",s),O=r(),$=ch(E),[A,j,_]=fK(E,$),M=ii()(d,{[`${E}-centered`]:!!h,[`${E}-wrap-rtl`]:"rtl"===o}),P=null===b||S?null:ei.createElement(fS,Object.assign({},e,{onOk:t=>{let{onOk:n}=e;null==n||n(t)},onCancel:a})),[T,I,F]=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u8,r=u6(e),o=u6(t),i="boolean"!=typeof r&&!!(null==r?void 0:r.disabled),a=ea().useMemo(()=>Object.assign({closeIcon:ea().createElement(cW,null)},n),[n]),c=ea().useMemo(()=>!1!==r&&(r?u3(a,o,r):!1!==o&&(o?u3(a,o):!!a.closable&&a)),[r,o,a]);return ea().useMemo(()=>{if(!1===c)return[!1,null,i];let{closeIconRender:e}=a,{closeIcon:t}=c,n=t;if(null!=n){e&&(n=e(t));let r=ct(c,!0);Object.keys(r).length&&(n=ea().isValidElement(n)?ea().cloneElement(n,r):ea().createElement("span",Object.assign({},r),n))}return[!0,n,i]},[c,a])}(u4(e),u4(i),{closable:!0,closeIcon:ei.createElement(cW,{className:`${E}-close-icon`}),closeIconRender:e=>fC(E,e)}),N=function(e){let t=ei.useContext(fb),n=ei.useRef(null);return iP(r=>{if(r){let o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)})}(`.${E}-content`),[R,L]=cv("Modal",k.zIndex);return A(ei.createElement(u5,{form:!0,space:!0},ei.createElement(cp.Provider,{value:L},ei.createElement(ue,Object.assign({width:y},k,{zIndex:R,getContainer:void 0===p?n:p,prefixCls:E,rootClassName:ii()(j,u,_,$),footer:P,visible:null!=f?f:v,mousePosition:null!=(t=k.mousePosition)?t:c,onClose:a,closable:T?{disabled:F,closeIcon:I}:T,closeIcon:I,focusTriggerAfterClose:g,transitionName:s_(O,"zoom",e.transitionName),maskTransitionName:s_(O,"fade",e.maskTransitionName),className:ii()(j,l,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),m),classNames:Object.assign(Object.assign(Object.assign({},null==i?void 0:i.classNames),x),{wrapper:ii()(M,null==x?void 0:x.wrapper)}),styles:Object.assign(Object.assign({},null==i?void 0:i.styles),w),panelRef:N}),S?ei.createElement(fv,{active:!0,title:!1,paragraph:{rows:4},className:`${E}-body-skeleton`}):C))))},fQ=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:c,fontHeight:s,confirmBodyPadding:l}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},am()),[`&${t} ${t}-body`]:{padding:l},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(c).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${ny(e.marginSM)})`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${ny(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, - ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},fZ=cL(["Modal","confirm"],e=>[fQ(fG(e))],fU,{order:-1e3});var fJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function f0(e){let{prefixCls:t,icon:n,okText:r,cancelText:o,confirmPrefixCls:i,type:a,okCancel:c,footer:s,locale:l}=e,u=fJ(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),f=n;if(!n&&null!==n)switch(a){case"info":f=ei.createElement(a6,null);break;case"success":f=ei.createElement(aJ,null);break;case"error":f=ei.createElement(a1,null);break;default:f=ei.createElement(a5,null)}let d=null!=c?c:"confirm"===a,h=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[p]=sM("Modal"),g=l||p,m=r||(d?null==g?void 0:g.okText:null==g?void 0:g.justOkText),v=Object.assign({autoFocusButton:h,cancelTextLocale:o||(null==g?void 0:g.cancelText),okTextLocale:m,mergedOkCancel:d},u),y=ei.useMemo(()=>v,tD(Object.values(v))),b=ei.createElement(ei.Fragment,null,ei.createElement(lV,null),ei.createElement(lq,null)),x=void 0!==e.title&&null!==e.title,w=`${i}-body`;return ei.createElement("div",{className:`${i}-body-wrapper`},ei.createElement("div",{className:ii()(w,{[`${w}-has-title`]:x})},f,ei.createElement("div",{className:`${i}-paragraph`},x&&ei.createElement("span",{className:`${i}-title`},e.title),ei.createElement("div",{className:`${i}-content`},e.content))),void 0===s||"function"==typeof s?ei.createElement(lz,{value:y},ei.createElement("div",{className:`${i}-btns`},"function"==typeof s?s(b,{OkBtn:lq,CancelBtn:lV}):b)):s,ei.createElement(fZ,{prefixCls:t}))}let f1=e=>{let{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:a,getContainer:c,maskStyle:s,direction:l,prefixCls:u,wrapClassName:f,rootPrefixCls:d,bodyStyle:h,closable:p=!1,closeIcon:g,modalRender:m,focusTriggerAfterClose:v,onConfirm:y,styles:b}=e,x=`${u}-confirm`,w=e.width||416,C=e.style||{},S=void 0===e.mask||e.mask,k=void 0!==e.maskClosable&&e.maskClosable,E=ii()(x,`${x}-${e.type}`,{[`${x}-rtl`]:"rtl"===l},e.className),[,O]=ok(),$=ei.useMemo(()=>void 0!==n?n:O.zIndexPopupBase+1e3,[n,O]);return ei.createElement(fY,{prefixCls:u,className:E,wrapClassName:ii()({[`${x}-centered`]:!!e.centered},f),onCancel:()=>{null==t||t({triggerCancel:!0}),null==y||y(!1)},open:o,title:"",footer:null,transitionName:s_(d||"","zoom",e.transitionName),maskTransitionName:s_(d||"","fade",e.maskTransitionName),mask:S,maskClosable:k,style:C,styles:Object.assign({body:h,mask:s},b),width:w,zIndex:$,afterClose:r,keyboard:i,centered:a,getContainer:c,closable:p,closeIcon:g,modalRender:m,focusTriggerAfterClose:v},ei.createElement(f0,Object.assign({},e,{confirmPrefixCls:x})))},f2=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return ei.createElement(aA,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},ei.createElement(f1,Object.assign({},e)))},f5=[],f4="",f6=e=>{var t,n;let{prefixCls:r,getContainer:o,direction:i}=e,a=o1,c=(0,ei.useContext)(oL),s=f4||c.getPrefixCls(),l=r||`${s}-modal`,u=o;return!1===u&&(u=void 0),ea().createElement(f2,Object.assign({},e,{rootPrefixCls:s,prefixCls:l,iconPrefixCls:c.iconPrefixCls,theme:c.theme,direction:null!=i?i:c.direction,locale:null!=(n=null==(t=c.locale)?void 0:t.Modal)?n:a,getContainer:u}))};function f3(e){let t,n,r=aO(),o=document.createDocumentFragment(),i=Object.assign(Object.assign({},e),{close:s,open:!0});function a(){for(var t,r=arguments.length,o=Array(r),i=0;inull==e?void 0:e.triggerCancel)&&(null==(t=e.onCancel)||t.call.apply(t,[e,()=>{}].concat(tD(o.slice(1)))));for(let e=0;e{let t=r.getPrefixCls(void 0,f4),i=r.getIconPrefixCls(),a=r.getTheme(),c=ea().createElement(f6,Object.assign({},e));n=aD(ea().createElement(aA,{prefixCls:t,iconPrefixCls:i,theme:a},r.holderRender?r.holderRender(c):c),o)})}function s(){for(var t=arguments.length,n=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),a.apply(this,n)}})).visible&&delete i.visible,c(i)}return c(i),f5.push(s),{destroy:s,update:function(e){c(i="function"==typeof e?e(i):Object.assign(Object.assign({},i),e))}}}function f8(e){return Object.assign(Object.assign({},e),{type:"warning"})}function f9(e){return Object.assign(Object.assign({},e),{type:"info"})}function f7(e){return Object.assign(Object.assign({},e),{type:"success"})}function de(e){return Object.assign(Object.assign({},e),{type:"error"})}function dt(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var dn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let dr=(R=e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:a,children:c,footer:s}=e,l=dn(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:u}=ei.useContext(oL),f=u(),d=t||u("modal"),h=ch(f),[p,g,m]=fK(d,h),v=`${d}-confirm`,y={};return y=i?{closable:null!=o&&o,title:"",footer:"",children:ei.createElement(f0,Object.assign({},e,{prefixCls:d,confirmPrefixCls:v,rootPrefixCls:f,content:c}))}:{closable:null==o||o,title:a,footer:null!==s&&ei.createElement(fS,Object.assign({},e)),children:c},p(ei.createElement(l3,Object.assign({prefixCls:d,className:ii()(g,`${d}-pure-panel`,i&&v,i&&`${v}-${i}`,n,m,h)},l,{closeIcon:fC(d,r),closable:o},y)))},e=>ei.createElement(aA,{theme:{token:{motion:!1,zIndexPopupBase:0}}},ei.createElement(R,Object.assign({},e))));var di=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let da=ei.forwardRef((e,t)=>{var n,{afterClose:r,config:o}=e,i=di(e,["afterClose","config"]);let[a,c]=ei.useState(!0),[s,l]=ei.useState(o),{direction:u,getPrefixCls:f}=ei.useContext(oL),d=f("modal"),h=f(),p=function(){c(!1);for(var e,t=arguments.length,n=Array(t),r=0;rnull==e?void 0:e.triggerCancel)&&(null==(e=s.onCancel)||e.call.apply(e,[s,()=>{}].concat(tD(n.slice(1)))))};ei.useImperativeHandle(t,()=>({destroy:p,update:e=>{l(t=>Object.assign(Object.assign({},t),e))}}));let g=null!=(n=s.okCancel)?n:"confirm"===s.type,[m]=sM("Modal",o0.Modal);return ei.createElement(f2,Object.assign({prefixCls:d,rootPrefixCls:h},s,{close:p,open:a,afterClose:()=>{var e;r(),null==(e=s.afterClose)||e.call(s)},okText:s.okText||(g?null==m?void 0:m.okText:null==m?void 0:m.justOkText),direction:s.direction||u,cancelText:s.cancelText||(null==m?void 0:m.cancelText)},i))}),dc=0,ds=ei.memo(ei.forwardRef((e,t)=>{let[n,r]=function(){let[e,t]=ei.useState([]);return[e,ei.useCallback(e=>(t(t=>[].concat(tD(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[])]}();return ei.useImperativeHandle(t,()=>({patchElement:r}),[]),ei.createElement(ei.Fragment,null,n)}));function dl(e){return f3(f8(e))}fY.useModal=function(){let e=ei.useRef(null),[t,n]=ei.useState([]);ei.useEffect(()=>{t.length&&(tD(t).forEach(e=>{e()}),n([]))},[t]);let r=ei.useCallback(t=>function(r){var o;let i,a;dc+=1;let c=ei.createRef(),s=new Promise(e=>{i=e}),l=!1,u=ei.createElement(da,{key:`modal-${dc}`,config:t(r),ref:c,afterClose:()=>{null==a||a()},isSilent:()=>l,onConfirm:e=>{i(e)}});return(a=null==(o=e.current)?void 0:o.patchElement(u))&&f5.push(a),{destroy:()=>{function e(){var e;null==(e=c.current)||e.destroy()}c.current?e():n(t=>[].concat(tD(t),[e]))},update:e=>{function t(){var t;null==(t=c.current)||t.update(e)}c.current?t():n(e=>[].concat(tD(e),[t]))},then:e=>(l=!0,s.then(e))}},[]);return[ei.useMemo(()=>({info:r(f9),success:r(f7),error:r(de),warning:r(f8),confirm:r(dt)}),[]),ei.createElement(ds,{key:"modal-holder",ref:e})]},fY.info=function(e){return f3(f9(e))},fY.success=function(e){return f3(f7(e))},fY.error=function(e){return f3(de(e))},fY.warning=dl,fY.warn=dl,fY.confirm=function(e){return f3(dt(e))},fY.destroyAll=function(){for(;f5.length;){let e=f5.pop();e&&e()}},fY.config=function(e){let{rootPrefixCls:t}=e;f4=t},fY._InternalPanelDoNotUseOrYouWillBeFired=dr;var du=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}},df=(0,ei.createContext)({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!=(E=du("dark"))&&E.matches?"dark":"light"}),dd=function(){return(0,ei.useContext)(df)},dh=(0,ei.memo)(function(e){var t=e.children,n=e.theme,r=e.prefixCls,o=e.getStaticInstance,i=e.staticInstanceConfig,a=dd(),c=a.appearance,s=a.isDarkMode,l=tL(c8.useMessage(null==i?void 0:i.message),2),u=l[0],f=l[1],h=tL(sj.useNotification(null==i?void 0:i.notification),2),p=h[0],g=h[1],m=tL(fY.useModal(),2),v=m[0],y=m[1];(0,ei.useEffect)(function(){null==o||o({message:u,modal:v,notification:p})},[]);var b=(0,ei.useMemo)(function(){var e=s?oj.darkAlgorithm:oj.defaultAlgorithm,t=n;if("function"==typeof n&&(t=n(c)),!t)return{algorithm:e};var r=t.algorithm?t.algorithm instanceof Array?t.algorithm:[t.algorithm]:[];return d(d({},t),{},{algorithm:t.algorithm?[e].concat(tD(r)):e})},[n,s]);return(0,tP.jsxs)(aA,{prefixCls:r,theme:b,children:[f,g,y,t]})});function dp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}n.d(t,{Cl:()=>r});let o=(e,t,n)=>{let[r,o]=n,i=e.getValue(t);return i>=r&&i<=o};function i(e){return null==e||""===e}o.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,i=null===t||Number.isNaN(r)?-1/0:r,a=null===n||Number.isNaN(o)?1/0:o;if(i>a){let e=i;i=a,a=e}return[i,a]},o.autoRemove=e=>i(e)||i(e[0])&&i(e[1])},4345:function(e,t,n){"use strict";n.d(t,{b2:()=>tG});var r,o={d:(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},i={};o.d(i,{F:()=>c});let a=Symbol.for("@inversifyjs/common/islazyServiceIdentifier");class c{[a];#e;constructor(e){this.#e=e,this[a]=!0}static is(e){return"object"==typeof e&&null!==e&&!0===e[a]}unwrap(){return this.#e()}}var s=i.F,l={d:(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},u={};function f(e,t){return Reflect.getMetadata(t,e)}function d(e,t,n,r){let o=r(f(e,t)??n);Reflect.defineMetadata(t,o,e)}l.d(u,{d:()=>f,m:()=>d});var h=u.d,p=u.m,g={d:(e,t)=>{for(var n in t)g.o(t,n)&&!g.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},m={};g.d(m,{Uo:()=>ey,zN:()=>z,YR:()=>M,QN:()=>F,wK:()=>R,N3:()=>V});let v=(eg={getReflectMetadata:()=>h,updateReflectMetadata:()=>p},em={},g.d(em,eg),em),y="named",b="name",x="unmanaged",w="optional",C="inject",S="multi_inject",k="post_construct",E="pre_destroy",O=[C,S,b,x,y,w],$=Symbol.for("@inversifyjs/core/InversifyCoreError");class A extends Error{[$];kind;constructor(e,t,n){super(t,n),this[$]=!0,this.kind=e}static is(e){return"object"==typeof e&&null!==e&&!0===e[$]}static isErrorOfKind(e,t){return A.is(e)&&e.kind===t}}function j(e,t){let n=[];for(let e=0;e0)throw new A(ev.missingInjectionDecorator,`Found unexpected missing metadata on type "${e.name}" at constructor indexes "${n.join('", "')}". - -Are you using @inject, @multiInject or @unmanaged decorators at those indexes? - -If you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`)}function _(e){return{kind:ey.singleInjection,name:void 0,optional:!1,tags:new Map,targetName:void 0,value:e}}function M(e){let t=e.find(e=>e.key===C),n=e.find(e=>e.key===S);if(void 0!==e.find(e=>e.key===x)){if(void 0!==n||void 0!==t)throw new A(ev.missingInjectionDecorator,"Expected a single @inject, @multiInject or @unmanaged metadata");return{kind:ey.unmanaged}}if(void 0===n&&void 0===t)throw new A(ev.missingInjectionDecorator,"Expected @inject, @multiInject or @unmanaged metadata");let r=e.find(e=>e.key===y),o=e.find(e=>e.key===w),i=e.find(e=>e.key===b);return{kind:void 0===t?ey.multipleInjection:ey.singleInjection,name:r?.value,optional:void 0!==o,tags:new Map(e.filter(e=>O.every(t=>e.key!==t)).map(e=>[e.key,e.value])),targetName:i?.value,value:void 0===t?n?.value:t.value}}function P(e,t,n){try{return M(n)}catch(n){throw A.isErrorOfKind(n,ev.missingInjectionDecorator)?new A(ev.missingInjectionDecorator,`Expected a single @inject, @multiInject or @unmanaged decorator at type "${e.name}" at constructor arguments at index "${t.toString()}"`,{cause:n}):n}}function T(e,t,n){try{return M(n)}catch(n){throw A.isErrorOfKind(n,ev.missingInjectionDecorator)?new A(ev.missingInjectionDecorator,`Expected a single @inject, @multiInject or @unmanaged decorator at type "${e.name}" at property "${t.toString()}"`,{cause:n}):n}}function I(e){let t=(0,v.getReflectMetadata)(e,"inversify:tagged_props"),n=new Map;if(void 0!==t)for(let r of Reflect.ownKeys(t)){let o=t[r];n.set(r,T(e,r,o))}return n}function F(e){let t=(0,v.getReflectMetadata)(e,k),n=(0,v.getReflectMetadata)(e,E);return{constructorArguments:function(e){let t=(0,v.getReflectMetadata)(e,"design:paramtypes"),n=(0,v.getReflectMetadata)(e,"inversify:tagged"),r=[];if(void 0!==n)for(let[t,o]of Object.entries(n)){let n=parseInt(t);r[n]=P(e,n,o)}if(void 0!==t){for(let e=0;es},ep={},g.d(ep,eh),ep);class D{#t;constructor(e){this.#t=e}startsWith(e){return this.#t.startsWith(e)}endsWith(e){return this.#t.endsWith(e)}contains(e){return this.#t.includes(e)}equals(e){return this.#t===e}value(){return this.#t}}let B="@inversifyjs/core/targetId";class z{#e;#n;#r;#o;#i;#a;constructor(e,t,n){this.#n=function(){let e=(0,v.getReflectMetadata)(Object,B)??0;return e===Number.MAX_SAFE_INTEGER?(0,v.updateReflectMetadata)(Object,B,e,()=>Number.MIN_SAFE_INTEGER):(0,v.updateReflectMetadata)(Object,B,e,e=>e+1),e}(),this.#r=e,this.#o=void 0,this.#e=t,this.#i=new D("string"==typeof e?e:e.toString().slice(7,-1)),this.#a=n}get id(){return this.#n}get identifier(){return this.#r}get metadata(){var e;return void 0===this.#o&&(this.#o=(e=this.#e).kind===ey.unmanaged?[{key:x,value:!0}]:function(e){let t=[function(e){let t;switch(e.kind){case ey.multipleInjection:t={key:S,value:e.value};break;case ey.singleInjection:t={key:C,value:e.value}}return t}(e)];for(let[n,r]of(void 0!==e.name&&t.push({key:y,value:e.name}),e.optional&&t.push({key:w,value:!0}),e.tags))t.push({key:n,value:r});return void 0!==e.targetName&&t.push({key:b,value:e.targetName}),t}(e)),this.#o}get name(){return this.#i}get type(){return this.#a}get serviceIdentifier(){return H.LazyServiceIdentifier.is(this.#e.value)?this.#e.value.unwrap():this.#e.value}getCustomTags(){return[...this.#e.tags.entries()].map(([e,t])=>({key:e,value:t}))}getNamedTag(){return void 0===this.#e.name?null:{key:y,value:this.#e.name}}hasTag(e){return this.metadata.some(t=>t.key===e)}isArray(){return this.#e.kind===ey.multipleInjection}isNamed(){return void 0!==this.#e.name}isOptional(){return this.#e.optional}isTagged(){return this.#e.tags.size>0}matchesArray(e){return this.isArray()&&this.#e.value===e}matchesNamedTag(e){return this.#e.name===e}matchesTag(e){return t=>this.metadata.some(n=>n.key===e&&n.value===t)}}let V=e=>{var t,n;return t=void 0===e?F:t=>R(t,e),n=void 0===e?I:t=>N(t,e),function(e){let r=t(e),o=L(e);for(;void 0!==o&&o!==Object;){for(let[e,t]of n(o))r.properties.has(e)||r.properties.set(e,t);o=L(o)}let i=[];for(let e of r.constructorArguments)if(e.kind!==ey.unmanaged){let t=e.targetName??"";i.push(new z(t,e,"ConstructorArgument"))}for(let[e,t]of r.properties)if(t.kind!==ey.unmanaged){let n=t.targetName??e;i.push(new z(n,t,"ClassProperty"))}return i}};var q=m.Uo,W=m.zN,G=m.YR,U=(m.QN,m.wK,m.N3),K={d:(e,t)=>{for(var n in t)K.o(t,n)&&!K.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},X={};K.d(X,{QC:()=>t$,bU:()=>ew,XK:()=>eC,mc:()=>tE,i0:()=>tO,FU:()=>eu.LazyServiceIdentifier,KK:()=>tW,PG:()=>eP,$Z:()=>eS,OZ:()=>t_,Yi:()=>tP,A$:()=>eF,id:()=>eE,WQ:()=>tR,_G:()=>tT,F$:()=>e1,tt:()=>tD,KT:()=>tF,dU:()=>tf,lq:()=>tL,kr:()=>tV,E3:()=>tq,VK:()=>tI,w:()=>tu,je:()=>tB,Nu:()=>tl,if:()=>td,Fz:()=>tH});var Y={};K.r(Y),K.d(Y,{DESIGN_PARAM_TYPES:()=>ea,INJECT_TAG:()=>et,MULTI_INJECT_TAG:()=>en,NAMED_TAG:()=>Q,NAME_TAG:()=>Z,NON_CUSTOM_TAG_KEYS:()=>el,OPTIONAL_TAG:()=>ee,PARAM_TYPES:()=>ei,POST_CONSTRUCT:()=>ec,PRE_DESTROY:()=>es,TAGGED:()=>er,TAGGED_PROP:()=>eo,UNMANAGED_TAG:()=>J});var Q="named",Z="name",J="unmanaged",ee="optional",et="inject",en="multi_inject",er="inversify:tagged",eo="inversify:tagged_props",ei="inversify:paramtypes",ea="design:paramtypes",ec="post_construct",es="pre_destroy",el=[et,en,Z,J,Q,ee];let eu=(eb={LazyServiceIdentifier:()=>s},ex={},K.d(ex,eb),ex);var ef,ed,eh,ep,eg,em,ev,ey,eb,ex,ew={Request:"Request",Singleton:"Singleton",Transient:"Transient"},eC={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},eS={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"},ek=0;function eE(){return ek++}var eO=function(){function e(e,t){this.id=eE(),this.activated=!1,this.serviceIdentifier=e,this.scope=t,this.type=eC.Invalid,this.constraint=function(e){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.onDeactivation=null,this.dynamicValue=null}return e.prototype.clone=function(){var t=new e(this.serviceIdentifier,this.scope);return t.activated=t.scope===ew.Singleton&&this.activated,t.implementationType=this.implementationType,t.dynamicValue=this.dynamicValue,t.scope=this.scope,t.type=this.type,t.factory=this.factory,t.provider=this.provider,t.constraint=this.constraint,t.onActivation=this.onActivation,t.onDeactivation=this.onDeactivation,t.cache=this.cache,t},e}(),e$="Metadata key was used more than once in a parameter:",eA="NULL argument",ej="Key Not Found",e_="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",eM=function(e,t){return"onDeactivation() error in class ".concat(e,": ").concat(t)},eP=function(){function e(){}return e.prototype.getConstructorMetadata=function(e){var t,n=null!=(t=Reflect.getMetadata(ea,e))?t:[],r=Reflect.getMetadata(er,e);return{compilerGeneratedMetadata:n,userGeneratedMetadata:null!=r?r:{}}},e.prototype.getPropertiesMetadata=function(e){var t;return null!=(t=Reflect.getMetadata(eo,e))?t:{}},e}();let eT=(eX={ClassElementMetadataKind:()=>q,LegacyTargetImpl:()=>W,getClassElementMetadataFromLegacyMetadata:()=>G,getTargets:()=>U},eY={},K.d(eY,eX),eY);function eI(e){return e instanceof RangeError||"Maximum call stack size exceeded"===e.message}function eF(e){return"function"==typeof e?e.name:"symbol"==typeof e?e.toString():e}function eN(e,t,n){var r="",o=n(e,t);return 0!==o.length&&(r="\nRegistered bindings:",o.forEach(function(e){var t="Object";null!==e.implementationType&&(t=eR(e.implementationType)),r="".concat(r,"\n ").concat(t),e.constraint.metaData&&(r="".concat(r," - ").concat(e.constraint.metaData))})),r}function eR(e){if(null!=e.name&&""!==e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return null===n?"Anonymous function: ".concat(t):n[1]}function eL(e){return'{"key":"'.concat(e.key.toString(),'","value":"').concat(e.value.toString(),'"}')}(eQ=eZ||(eZ={}))[eQ.MultipleBindingsAvailable=2]="MultipleBindingsAvailable",eQ[eQ.NoBindingsAvailable=0]="NoBindingsAvailable",eQ[eQ.OnlyOneBindingAvailable=1]="OnlyOneBindingAvailable";var eH=function(){function e(e){this.id=eE(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=e},e}(),eD=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.toString=function(){return this.key===Q?"named: ".concat(String(this.value).toString()," "):"tagged: { key:".concat(this.key.toString(),", value: ").concat(String(this.value)," }")},e}(),eB=function(e,t){this.parentContext=e,this.rootRequest=t},ez=function(){function e(e,t,n,r,o){this.id=eE(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=o,this.childRequests=[],this.bindings=Array.isArray(r)?r:[r],this.requestScope=null===n?new Map:null}return e.prototype.addChildRequest=function(t,n,r){var o=new e(t,this.parentContext,this,n,r);return this.childRequests.push(o),o},e}();function eV(e){return e._bindingDictionary}function eq(e,t,n,r,o){var i,a=eG(n.container,o.serviceIdentifier);return a.length===eZ.NoBindingsAvailable&&!0===n.container.options.autoBindInjectable&&"function"==typeof o.serviceIdentifier&&e.getConstructorMetadata(o.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(o.serviceIdentifier).toSelf(),a=eG(n.container,o.serviceIdentifier)),i=t?a:a.filter(function(e){var t=new ez(e.serviceIdentifier,n,r,e,o);return e.constraint(t)}),function(e,t,n,r,o){var i;switch(t.length){case eZ.NoBindingsAvailable:if(r.isOptional())return;var a=eF(e),c="No matching bindings found for serviceIdentifier:";throw c+=function(e,t){if(t.isTagged()||t.isNamed()){var n="",r=t.getNamedTag(),o=t.getCustomTags();return null!==r&&(n+=eL(r)+"\n"),null!==o&&o.forEach(function(e){n+=eL(e)+"\n"})," ".concat(e,"\n ").concat(e," - ").concat(n)}return" ".concat(e)}(a,r),c+=eN(o,a,eG),null!==n&&(c+="\n".concat((i=eF(n.serviceIdentifier),'Trying to resolve bindings for "'.concat(i,'"')))),Error(c);case eZ.OnlyOneBindingAvailable:return;case eZ.MultipleBindingsAvailable:default:if(r.isArray())return;throw a=eF(e),Error(c="".concat("Ambiguous match found for serviceIdentifier:"," ").concat(a)+eN(o,a,eG))}}(o.serviceIdentifier,i,r,o,n.container),i}function eW(e,t,n,r){var o=[new eD(e?en:et,t)];return void 0!==n&&o.push(new eD(n,r)),o}function eG(e,t){var n=[],r=eV(e);return r.hasKey(t)?n=r.get(t):null!==e.parent&&(n=eG(e.parent,t)),n}function eU(e){return("object"==typeof e&&null!==e||"function"==typeof e)&&"function"==typeof e.then}function eK(e){return!!eU(e)||Array.isArray(e)&&e.some(eU)}var eX,eY,eQ,eZ,eJ,e0=function(e,t){var n,r,o,i;return n=void 0,r=void 0,i=function(){var n;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(s){var l=[c,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0){var o=t.reduce(function(e,t){var r=n(t);return t.target.type===eS.ConstructorArgument?e.constructorInjections.push(r):(e.propertyRequests.push(t),e.propertyInjections.push(r)),e.isAsync||(e.isAsync=eK(r)),e},{constructorInjections:[],isAsync:!1,propertyInjections:[],propertyRequests:[]}),i=e2(e2({},o),{constr:e});r=o.isAsync?function(e){return e5(this,void 0,void 0,function(){var t,n;return e4(this,function(r){switch(r.label){case 0:return[4,e3(e.constructorInjections)];case 1:return t=r.sent(),[4,e3(e.propertyInjections)];case 2:return n=r.sent(),[2,e6(e2(e2({},e),{constructorInjections:t,propertyInjections:n}))]}})})}(i):e6(i)}else r=new e;return r}(r,c,o))?i.then(function(e){return e8(r,e)}):e8(r,i);break;default:a=e7(n,t.parentContext)}return a},tt=function(e,t,n){var r,o=t.scope===ew.Singleton&&t.activated?t.cache:t.scope===ew.Request&&e.has(t.id)?e.get(t.id):null;return null!==o||(r=o=n(),t.scope===ew.Singleton&&(t.cache=r,t.activated=!0,eU(r)&&e0(t,r)),t.scope===ew.Request&&(e.has(t.id)||e.set(t.id,r))),o},tn=function(e,t,n){return tt(e,n,function(){var r=te(e,t,n);return eU(r)?r.then(function(e){return tr(t,n,e)}):tr(t,n,r)})};function tr(e,t,n){var r,o=to(e.parentContext,t,n),i=ts(e.parentContext.container),a=i.next();do{r=a.value;var c=e.parentContext,s=tc(r,e.serviceIdentifier);o=eU(o)?ta(s,c,o):ti(s,c,o),a=i.next()}while(!0!==a.done&&!eV(r).hasKey(e.serviceIdentifier));return o}var to=function(e,t,n){return"function"==typeof t.onActivation?t.onActivation(e,n):n},ti=function(e,t,n){for(var r=e.next();!0!==r.done;){if(eU(n=r.value(t,n)))return ta(e,t,n);r=e.next()}return n},ta=function(e,t,n){var r,o,i,a;return r=void 0,o=void 0,a=function(){var r,o;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(s){var l=[c,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0?this._map.set(e,t):this._map.delete(e)},e}(),tw=function(){function e(){this._map=new Map}return e.prototype.remove=function(e){var t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)},e.prototype.addDeactivation=function(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)},e.prototype.addActivation=function(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)},e.prototype.clone=function(){var t=new e;return this._map.forEach(function(e,n){t._map.set(n,{onActivations:e.onActivations.clone(),onDeactivations:e.onDeactivations.clone()})}),t},e.prototype._getModuleActivationHandlers=function(e){var t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t},e.prototype._getEmptyHandlersStore=function(){return{onActivations:new tx,onDeactivations:new tx}},e}(),tC=function(){return(tC=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]","]"):"symbol"==typeof t?t.toString():"'".concat(t,"'")," in a synchronous way ")+"but it has asynchronous dependencies."));return n},e.prototype._getAllArgs=function(e){return{avoidConstraints:!0,isMultiInject:!0,serviceIdentifier:e}},e.prototype._getNotAllArgs=function(e,t,n,r){return{avoidConstraints:!1,isMultiInject:t,key:n,serviceIdentifier:e,value:r}},e.prototype._planAndResolve=function(){var e=this;return function(t){var n,r=function(e,t,n,r,o,i,a,c){void 0===c&&(c=!1);var s=new eH(t),l=function(e,t,n,r,o,i){var a=eW(e,n,o,i),c=(0,eT.getClassElementMetadataFromLegacyMetadata)(a);if(c.kind===eT.ClassElementMetadataKind.unmanaged)throw Error("Unexpected metadata when creating target");return new eT.LegacyTargetImpl("",c,t)}(n,r,o,0,i,a);try{return function e(t,n,r,o,i,a){var c,s;if(null===i){c=eq(t,n,o,null,a),s=new ez(r,o,null,c,a);var l=new eB(o,s);o.addPlan(l)}else c=eq(t,n,o,i,a),s=i.addChildRequest(a.serviceIdentifier,c,a);c.forEach(function(n){var r,i=null;if(a.isArray())i=s.addChildRequest(n.serviceIdentifier,n,a);else{if(null!==n.cache)return;i=s}if(n.type===eC.Instance&&null!==n.implementationType){var c,l=(c=n.implementationType,(0,eT.getTargets)(t)(c));if(!0!==o.container.options.skipBaseClassChecks){var u=function e(t,n){var r=Object.getPrototypeOf(n.prototype).constructor;if(r!==Object){var o=(0,eT.getTargets)(t)(r),i=o.map(function(e){return e.metadata.filter(function(e){return e.key===J})}),a=[].concat.apply([],i).length,c=o.length-a;return c>0?c:e(t,r)}return 0}(t,n.implementationType);if(l.length= than the number of constructor arguments of its base class.")))}l.forEach(function(n){e(t,!1,n.serviceIdentifier,o,i,n)})}})}(e,c,o,s,null,l),s}catch(e){throw eI(e)&&function e(t){t.childRequests.forEach(function(n){if(function e(t,n){return null!==t.parentRequest&&(t.parentRequest.serviceIdentifier===n||e(t.parentRequest,n))}(t,n.serviceIdentifier)){var r=(function e(t,n){void 0===n&&(n=[]);var r=eF(t.serviceIdentifier);return n.push(r),null!==t.parentRequest?e(t.parentRequest,n):n})(n).reverse().join(" --\x3e ");throw Error("".concat("Circular dependency found:"," ").concat(r))}e(n)})}(s.plan.rootRequest),e}}(e._metadataReader,e,t.isMultiInject,t.targetType,t.serviceIdentifier,t.key,t.value,t.avoidConstraints);return e9((n=r=t.contextInterceptor(r)).plan.rootRequest.requestScope)(n.plan.rootRequest)}},e.prototype._deactivateIfSingleton=function(e){var t=this;if(e.activated)return eU(e.cache)?e.cache.then(function(n){return t._deactivate(e,n)}):this._deactivate(e,e.cache)},e.prototype._deactivateSingletons=function(e){for(var t=0;t=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}n.d(t,{gn:()=>r,w6:()=>o})}}]); \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js.LICENSE.txt b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js.LICENSE.txt deleted file mode 100644 index fd1ea62..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/798.5da9846f.js.LICENSE.txt +++ /dev/null @@ -1,59 +0,0 @@ -/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ - -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - -/** - * table-core - * - * Copyright (c) TanStack - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */ - -/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/**![check-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0xOTMuNSAzMDEuN2wtMjEwLjYgMjkyYTMxLjggMzEuOCAwIDAxLTUxLjcgMEwzMTguNSA0ODQuOWMtMy44LTUuMyAwLTEyLjcgNi41LTEyLjdoNDYuOWMxMC4yIDAgMTkuOSA0LjkgMjUuOSAxMy4zbDcxLjIgOTguOCAxNTcuMi0yMThjNi04LjMgMTUuNi0xMy4zIDI1LjktMTMuM0g2OTljNi41IDAgMTAuMyA3LjQgNi41IDEyLjd6IiAvPjwvc3ZnPg==) */ - -/**![close-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTEyIDY0YzI0Ny40IDAgNDQ4IDIwMC42IDQ0OCA0NDhTNzU5LjQgOTYwIDUxMiA5NjAgNjQgNzU5LjQgNjQgNTEyIDI2NC42IDY0IDUxMiA2NHptMTI3Ljk4IDI3NC44MmgtLjA0bC0uMDguMDZMNTEyIDQ2Ni43NSAzODQuMTQgMzM4Ljg4Yy0uMDQtLjA1LS4wNi0uMDYtLjA4LS4wNmEuMTIuMTIgMCAwMC0uMDcgMGMtLjAzIDAtLjA1LjAxLS4wOS4wNWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAwLS4wNS4wOS4xMi4xMiAwIDAwMCAuMDd2LjAyYS4yNy4yNyAwIDAwLjA2LjA2TDQ2Ni43NSA1MTIgMzM4Ljg4IDYzOS44NmMtLjA1LjA0LS4wNi4wNi0uMDYuMDhhLjEyLjEyIDAgMDAwIC4wN2MwIC4wMy4wMS4wNS4wNS4wOWw0NS4wMiA0NS4wMmEuMi4yIDAgMDAuMDkuMDUuMTIuMTIgMCAwMC4wNyAwYy4wMiAwIC4wNC0uMDEuMDgtLjA1TDUxMiA1NTcuMjVsMTI3Ljg2IDEyNy44N2MuMDQuMDQuMDYuMDUuMDguMDVhLjEyLjEyIDAgMDAuMDcgMGMuMDMgMCAuMDUtLjAxLjA5LS4wNWw0NS4wMi00NS4wMmEuMi4yIDAgMDAuMDUtLjA5LjEyLjEyIDAgMDAwLS4wN3YtLjAyYS4yNy4yNyAwIDAwLS4wNS0uMDZMNTU3LjI1IDUxMmwxMjcuODctMTI3Ljg2Yy4wNC0uMDQuMDUtLjA2LjA1LS4wOGEuMTIuMTIgMCAwMDAtLjA3YzAtLjAzLS4wMS0uMDUtLjA1LS4wOWwtNDUuMDItNDUuMDJhLjIuMiAwIDAwLS4wOS0uMDUuMTIuMTIgMCAwMC0uMDcgMHoiIC8+PC9zdmc+) */ - -/**![close](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNzk5Ljg2IDE2Ni4zMWMuMDIgMCAuMDQuMDIuMDguMDZsNTcuNjkgNTcuN2MuMDQuMDMuMDUuMDUuMDYuMDhhLjEyLjEyIDAgMDEwIC4wNmMwIC4wMy0uMDIuMDUtLjA2LjA5TDU2OS45MyA1MTJsMjg3LjcgMjg3LjdjLjA0LjA0LjA1LjA2LjA2LjA5YS4xMi4xMiAwIDAxMCAuMDdjMCAuMDItLjAyLjA0LS4wNi4wOGwtNTcuNyA1Ny42OWMtLjAzLjA0LS4wNS4wNS0uMDcuMDZhLjEyLjEyIDAgMDEtLjA3IDBjLS4wMyAwLS4wNS0uMDItLjA5LS4wNkw1MTIgNTY5LjkzbC0yODcuNyAyODcuN2MtLjA0LjA0LS4wNi4wNS0uMDkuMDZhLjEyLjEyIDAgMDEtLjA3IDBjLS4wMiAwLS4wNC0uMDItLjA4LS4wNmwtNTcuNjktNTcuN2MtLjA0LS4wMy0uMDUtLjA1LS4wNi0uMDdhLjEyLjEyIDAgMDEwLS4wN2MwLS4wMy4wMi0uMDUuMDYtLjA5TDQ1NC4wNyA1MTJsLTI4Ny43LTI4Ny43Yy0uMDQtLjA0LS4wNS0uMDYtLjA2LS4wOWEuMTIuMTIgMCAwMTAtLjA3YzAtLjAyLjAyLS4wNC4wNi0uMDhsNTcuNy01Ny42OWMuMDMtLjA0LjA1LS4wNS4wNy0uMDZhLjEyLjEyIDAgMDEuMDcgMGMuMDMgMCAuMDUuMDIuMDkuMDZMNTEyIDQ1NC4wN2wyODcuNy0yODcuN2MuMDQtLjA0LjA2LS4wNS4wOS0uMDZhLjEyLjEyIDAgMDEuMDcgMHoiIC8+PC9zdmc+) */ - -/**![exclamation-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0tMzIgMjMyYzAtNC40IDMuNi04IDgtOGg0OGM0LjQgMCA4IDMuNiA4IDh2MjcyYzAgNC40LTMuNiA4LTggOGgtNDhjLTQuNCAwLTgtMy42LTgtOFYyOTZ6bTMyIDQ0MGE0OC4wMSA0OC4wMSAwIDAxMC05NiA0OC4wMSA0OC4wMSAwIDAxMCA5NnoiIC8+PC9zdmc+) */ - -/**![info-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0zMiA2NjRjMCA0LjQtMy42IDgtOCA4aC00OGMtNC40IDAtOC0zLjYtOC04VjQ1NmMwLTQuNCAzLjYtOCA4LThoNDhjNC40IDAgOCAzLjYgOCA4djI3MnptLTMyLTM0NGE0OC4wMSA0OC4wMSAwIDAxMC05NiA0OC4wMSA0OC4wMSAwIDAxMCA5NnoiIC8+PC9zdmc+) */ - -/**![loading](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk4OCA1NDhjLTE5LjkgMC0zNi0xNi4xLTM2LTM2IDAtNTkuNC0xMS42LTExNy0zNC42LTE3MS4zYTQ0MC40NSA0NDAuNDUgMCAwMC05NC4zLTEzOS45IDQzNy43MSA0MzcuNzEgMCAwMC0xMzkuOS05NC4zQzYyOSA4My42IDU3MS40IDcyIDUxMiA3MmMtMTkuOSAwLTM2LTE2LjEtMzYtMzZzMTYuMS0zNiAzNi0zNmM2OS4xIDAgMTM2LjIgMTMuNSAxOTkuMyA0MC4zQzc3Mi4zIDY2IDgyNyAxMDMgODc0IDE1MGM0NyA0NyA4My45IDEwMS44IDEwOS43IDE2Mi43IDI2LjcgNjMuMSA0MC4yIDEzMC4yIDQwLjIgMTk5LjMuMSAxOS45LTE2IDM2LTM1LjkgMzZ6IiAvPjwvc3ZnPg==) */ \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/__federation_expose_default_export.94801d11.js b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/__federation_expose_default_export.94801d11.js deleted file mode 100644 index 28ee53c..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/async/__federation_expose_default_export.94801d11.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpimcore_studio_example_bundle=self.webpackChunkpimcore_studio_example_bundle||[]).push([["249"],{2117:function(e,t,n){n.r(t),n.d(t,{CustomObjectDatatypePlugin:()=>eZ,CustomIconPlugin:()=>f,GdprDataExtractorPlugin:()=>ej,TabManagerPlugin:()=>C,CustomAssetTypePlugin:()=>eG,CustomDashboardWidgetsPlugin:()=>U,CustomGridColumnPlugin:()=>e3,CustomWidgetsPlugin:()=>R,CustomThemePlugin:()=>tr,DataObjectContextMenuPlugin:()=>er,CustomDocumentTypePlugin:()=>eR,AssetEditorToolbarButtonPlugin:()=>x,CustomDocumentEditablePlugin:()=>eK,ListingPlugin:()=>eC,MainNavEntryPlugin:()=>m,WorkflowModalExtensionPlugin:()=>tt,ApiDataPlugin:()=>en,CustomObjectLayoutTypePlugin:()=>e9,DynamicTypePlugin:()=>X});var i=n(4723),r=n(6236),o=n(5893),a=n(5136),l=n.n(a),s=n(5907);let c=()=>(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Example Tool"}),(0,o.jsx)(s.Alert,{message:"Just a quick demo how to open main widgets from the main navigation menu."})]}),d={onInit:()=>{let e=i.container.get(r.serviceIds.mainNavRegistry);e.registerMainNavItem({path:"Example Plugin",icon:"pimcore"}),e.registerMainNavItem({path:"Example Plugin/Example Tool",widgetConfig:{name:"Example Tool",id:"example-tool",component:"example-tool",config:{icon:{type:"name",value:"pimcore"}}}}),i.container.get(r.serviceIds.widgetManager).registerWidget({name:"example-tool",component:c})}},m={name:"MainNavEntryPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(d)}};var g=n(6122),u=n(9190);let p=()=>{let e=(0,s.useAlertModal)(),{id:t}=(0,a.useContext)(u.AssetContext),{asset:n}=(0,u.useAssetDraft)(t);return(0,o.jsx)(o.Fragment,{children:(null==n?void 0:n.type)==="image"&&(0,o.jsx)(s.Button,{onClick:()=>{e.info({title:"Hello!",content:"Hello from the custom toolbar button! The button will only be shown for image assets. Have a nice day!"})},children:"Custom Image Button"})})},y={onInit:()=>{i.container.get(r.serviceIds["App/ComponentRegistry/ComponentRegistry"]).registerToSlot(g.componentConfig.asset.editor.toolbar.slots.left.name,{name:"customToolbarButton",component:p,priority:500})}},x={name:"AssetEditorToolbarButtonPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(y)}},b=()=>(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Example Tab"}),"This is an example tab."]}),h={onInit(){i.container.get(r.serviceIds["Asset/Editor/FolderTabManager"]).register({key:"example-folder-tab",label:"Example Folder Tab",icon:(0,o.jsx)(s.Icon,{value:"pimcore"}),children:(0,o.jsx)(b,{})})}},v=()=>(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"New preview tab"}),(0,o.jsx)(s.Alert,{message:(0,o.jsxs)("div",{children:["This is a new preview tab.",(0,o.jsx)("br",{}),"It replaces the default preview tab."]}),type:"info"})]}),T={onInit(){let e=i.container.get(r.serviceIds["DataObject/Editor/ObjectTabManager"]),t=e.getTab("preview");if(void 0===t)throw Error("Preview tab not found");e.register({...t,children:(0,o.jsx)(v,{})})}},C={name:"TabManagerPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(h),t.registerModule(T)}},D=()=>(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Custom Icons"}),(0,o.jsx)(s.Card,{children:(0,o.jsxs)(s.Flex,{align:"center",gap:"small",children:[(0,o.jsx)("h1",{children:"Icon Example"}),(0,o.jsx)(s.Icon,{options:{height:35,width:35,style:{rotate:"90deg"}},value:"rocket-example"})]})}),(0,o.jsxs)(s.Space,{direction:"vertical",size:"small",children:[(0,o.jsx)(s.IconButton,{icon:{value:"rocket-example"},size:"large",type:"default"}),(0,o.jsx)(s.IconTextButton,{icon:{value:"rocket-example"},children:"Rocket"}),(0,o.jsx)(s.IconTextButton,{icon:{value:"rocket-example"},type:"primary",children:"Rocket"})]})]}),E=e=>(0,o.jsx)("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,o.jsx)("path",{d:"M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2l0 82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9l0-107.2c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168a40 40 0 1 0 0-80 40 40 0 1 0 0 80z",fill:"currentColor"})}),I={onInit(){i.container.get(r.serviceIds.iconLibrary).register({name:"rocket-example",component:E}),i.container.get(r.serviceIds.mainNavRegistry).registerMainNavItem({path:"Example Plugin/Custom Icons",widgetConfig:{name:"Custom Icons",id:"custom-icon",component:"custom-icons",config:{icon:{type:"name",value:"rocket-example"}}}}),i.container.get(r.serviceIds.widgetManager).registerWidget({name:"custom-icons",component:D})}},f={name:"CustomIconPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(I)}};var j=n(8292);let S=()=>{let e=(0,j.useWidgetManager)(),[t,n]=l().useState(void 0),[i,r]=l().useState(void 0),a=void 0===i,c=[{name:"Example widget",component:"example-widget",config:{icon:{type:"name",value:"pimcore"}}},{name:"Example widget with fixed id",id:"example-widget-fixed-id",component:"example-widget",config:{icon:{type:"name",value:"pimcore"}}},{name:"Another example widget",component:"another-example-widget",config:{icon:{type:"name",value:"pimcore"}}}],d=c.map(e=>({label:e.name,value:e.name}));return(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Example widget"}),(0,o.jsx)("div",{children:"Select a widget:"}),(0,o.jsx)(s.Select,{minWidth:"normal",onChange:e=>{n(e),r(c.find(t=>t.name===e))},options:d,value:t}),void 0!==i&&(0,o.jsxs)(s.Space,{direction:"vertical",size:"small",children:[(0,o.jsx)(s.Button,{disabled:a,onClick:()=>{e.openMainWidget(i)},children:"Open main widget"}),(0,o.jsx)(s.Button,{disabled:a,onClick:()=>{e.openLeftWidget(i)},children:"Open left widget"}),(0,o.jsx)(s.Button,{disabled:a,onClick:()=>{e.openRightWidget(i)},children:"Open right widget"}),(0,o.jsx)(s.Button,{disabled:a,onClick:()=>{e.openBottomWidget(i)},children:"Open bottom widget"})]})]})},A=()=>(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Another example widget"}),(0,o.jsx)("div",{children:"This is another example widget."})]}),B=e=>{let{url:t="",height:n=600}=e;return""===t?(0,o.jsx)(s.Content,{padded:!0,children:(0,o.jsx)("div",{children:"No URL configured for this iframe widget."})}):(0,o.jsx)("iframe",{height:n,src:t,style:{border:"none",width:"100%",height:"100%"},title:"Iframe Widget"})},w={onInit:()=>{i.container.get(r.serviceIds.mainNavRegistry).registerMainNavItem({path:"Example Plugin/Custom Widgets",widgetConfig:{name:"Custom Widgets",id:"custom-widgets",component:"example-widget",config:{icon:{type:"name",value:"pimcore"}}}});let e=i.container.get(r.serviceIds.widgetManager);e.registerWidget({name:"example-widget",component:S}),e.registerWidget({name:"another-example-widget",component:A}),e.registerWidget({name:"example_iframe",component:B}),i.container.get(r.serviceIds["DynamicTypes/WidgetEditor/WidgetTypeRegistry"]).registerDynamicType(i.container.get("DynamicTypes/WidgetEditor/WidgetType/ExampleIframe"))}};var P=n(8395),M=n(2699);let F=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Form.Item,{label:"URL",name:"url",rules:[{required:!0,message:"Please enter a URL"}],children:(0,o.jsx)(s.Input,{placeholder:"https://example.com"})}),(0,o.jsx)(s.Form.Item,{label:"Height (px)",name:"height",children:(0,o.jsx)(s.InputNumber,{min:100,placeholder:"600"})})]});class L extends M.DynamicTypeWidgetTypeAbstract{form(){return(0,o.jsx)(F,{})}constructor(...e){super(...e),this.id="example_iframe",this.name="Iframe Widget",this.group="example-widgets",this.icon="mainDocument"}}L=(0,P.gn)([(0,r.injectable)()],L);let R={name:"CustomWidgetsPlugin",onInit(e){let{container:t}=e;t.bind("DynamicTypes/WidgetEditor/WidgetType/ExampleIframe").to(L)},onStartup(e){let{moduleSystem:t}=e;t.registerModule(w)}},k="StudioDashboards/DynamicTypes/WidgetType/Registry",N="StudioExample/DynamicTypes/WidgetType/TopAssets",O={onInit:()=>{i.container.isBound(k)&&i.container.get(k).registerDynamicType(i.container.get(N))}};var W=n(8388);let _={items:[]},G=e=>{let{content:t}=e,n=(0,W.Cl)(),i=(null==t?void 0:t.data)??_,r=(0,a.useMemo)(()=>[n.accessor("fullPath",{header:"Path",meta:{type:"text",editable:!1},size:260}),n.accessor("modificationDate",{header:"Modified",cell:e=>{let{row:t}=e;return(0,o.jsx)("span",{children:new Date(1e3*t.original.modificationDate).toLocaleString()})},meta:{type:"text",editable:!1},size:140})],[]);return 0===i.items.length?(0,o.jsx)(s.Flex,{align:"center",justify:"center",style:{height:"100%"},children:"No assets found"}):(0,o.jsx)(s.Grid,{autoWidth:!0,columns:r,data:i.items,resizable:!0,setRowId:e=>String(e.id)})};class H{getWidgetComponent(e){let{data:t}=e;return(0,o.jsx)(G,{content:t??{}})}getWidgetHeaderComponent(){return null}getWidgetEditModeView(e){return[{label:"Limit",value:e.limit??10}]}getWidgetAllowedVisualizations(e){let{visualizationData:t}=e;return t}getWidgetIsAllowedBySlot(e){let{slotData:t}=e;return!0}getWidgetAdditionalFormElements(){return()=>(0,o.jsx)(s.Form.Item,{initialValue:10,label:"Limit",name:"limit",children:(0,o.jsx)(s.Select,{options:[{value:5,label:"5"},{value:10,label:"10"},{value:20,label:"20"},{value:50,label:"50"}]})})}constructor(){this.id="top_assets"}}H=(0,P.gn)([(0,r.injectable)()],H);let U={name:"CustomDashboardWidgetsPlugin",onInit(e){let{container:t}=e;t.bind(N).to(H)},onStartup(e){let{moduleSystem:t}=e;t.registerModule(O)}},z=[{id:"number-cell",accessorFn:e=>e["number-cell"],accessorKey:"number-cell",header:"Number",meta:{type:"number"}},{id:"text-cell",accessorFn:e=>e["text-cell"],accessorKey:"text-cell",header:"Text",meta:{type:"text"}},{id:"boolean-cell",accessorFn:e=>e["boolean-cell"],accessorKey:"boolean-cell",header:"Boolean",meta:{type:"boolean",editable:!1}},{id:"live-updating",accessorFn:e=>e["live-updating"],accessorKey:"live-updating",header:"Live Updating",meta:{type:"live-updating"}}],q=[{"number-cell":1,"text-cell":"Hello","live-updating":"2234","boolean-cell":!0},{"number-cell":2,"text-cell":"World","live-updating":"543","boolean-cell":!1},{"number-cell":3,"text-cell":"!","live-updating":"234","boolean-cell":!0}],V=()=>(0,o.jsx)(s.Grid,{columns:z,data:q}),K=()=>(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Dynamic types"}),(0,o.jsx)(V,{})]}),Q={onInit:()=>{i.container.get(r.serviceIds.mainNavRegistry).registerMainNavItem({path:"Example Plugin/Dynamic Types",widgetConfig:{name:"Dynamic Types",id:"dynamic-types",component:"dynamic-types",config:{icon:{type:"name",value:"pimcore"}}}}),i.container.get(r.serviceIds.widgetManager).registerWidget({name:"dynamic-types",component:K}),i.container.get(r.serviceIds["DynamicTypes/GridCellRegistry"]).registerDynamicType(i.container.get("DynamicTypes/GridCell/LiveUpdatingCell"))}};var $=n(3096);let Y=e=>{let{getValue:t}=e,[n,i]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=setInterval(()=>{i(Math.floor(1e3*Math.random()))},2e3);return()=>{clearInterval(e)}},[]),(0,o.jsx)("div",{className:"default-cell__content",children:n})};class J extends $.DynamicTypeGridCellAbstract{getGridCellComponent(e){return(0,o.jsx)(Y,{...e})}constructor(...e){super(...e),this.id="live-updating"}}J=(0,P.gn)([(0,r.injectable)()],J);let X={name:"DynamicTypePlugin",onInit(e){let{container:t}=e;t.bind("DynamicTypes/GridCell/LiveUpdatingCell").to(J)},onStartup(e){let{moduleSystem:t}=e;t.registerModule(Q)}};var Z=n(5047);let ee=()=>{let{isLoading:e,data:t,isError:n,error:i}=(0,Z.useAssetGetTreeQuery)({page:1,pageSize:10});return(0,a.useEffect)(()=>{n&&(0,g.trackError)(new g.ApiError(i))},[n]),(0,o.jsxs)(s.Content,{loading:e,padded:!0,children:[(0,o.jsx)(s.Header,{title:"API data"}),null==t?void 0:t.items.map(e=>(0,o.jsx)("div",{children:e.filename},e.id))]})},et={onInit(){i.container.get(r.serviceIds.mainNavRegistry).registerMainNavItem({path:"Example Plugin/Api Data",widgetConfig:{name:"Api Data",id:"api-data",component:"api-data-widget",config:{icon:{type:"name",value:"pimcore"}}}}),i.container.get(r.serviceIds.widgetManager).registerWidget({name:"api-data-widget",component:ee})}},en={name:"ApiDataPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(et)}},ei={onInit(){let e=i.container.get(r.serviceIds["App/ContextMenuRegistry/ContextMenuRegistry"]),t=g.contextMenuConfig.dataObjectTree;e.registerToSlot(t.name,{name:"custom-item",priority:t.priority.rename-1,useMenuItem:e=>{let t=(0,s.useAlertModal)();return{key:"custom-item",label:"Custom Item",icon:(0,o.jsx)(s.Icon,{value:"pimcore"}),onClick:()=>{t.info({title:`Custom item clicked for data object with id: ${e.target.id}`,content:"This is a custom context menu item for the data object."})}}}}),e.updateSlotProvider(t.name,"delete",e=>({...e,useMenuItem:t=>{let n=e.useMenuItem(t);return null===n||"folder"!==t.target.type?null:{...n,label:"Customized Delete (visible only for folders)",icon:(0,o.jsx)(s.Icon,{subIconName:"pimcore",value:"trash"})}}}))}},er={name:"DataObjectContextMenuPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(ei)}};var eo=n(395);let ea=()=>{let e=i.container.get("Cars/Listing/Builder");return(0,o.jsx)(eo.DataObjectProvider,{id:1,children:(0,o.jsx)(eo.BaseListing,{...e.build({props:{...eo.listingDefaultProps,toolbarSlotName:"carsListing.toolbar"},config:{tagFilter:{enabled:!1}}})})})},el=()=>(0,o.jsx)(ea,{}),es=(0,a.createContext)(void 0),ec=e=>{let{children:t}=e,[n,i]=(0,a.useState)(null);return(0,a.useMemo)(()=>(0,o.jsx)(es.Provider,{value:{pqlFilter:n,setPqlFilter:i},children:t}),[n,t])},ed=()=>{let e=(0,a.useContext)(es);if(void 0===e)throw Error("usePqlFilterContext must be used within a PqlFilterProvider");return e},em=e=>()=>(0,o.jsx)(ec,{children:(0,o.jsx)(e,{})}),eg=()=>{let{pqlFilter:e,setPqlFilter:t}=ed(),n=[{label:"All E-Type models which are green or produced before 1965.",pql:'series = "E-Type" AND (color = "green" OR productionYear < 1965)'},{label:"All Alfa cars produced after 1965",pql:'manufacturer:Manufacturer.name = "Alfa" AND productionYear > 1965'},{label:"All red or blue cars using standard PQL syntax.",pql:'color = "red" OR color = "blue"'}].map(e=>({label:e.label,value:e.pql}));return(0,o.jsx)(s.ContentLayout,{children:(0,o.jsxs)(s.Content,{padded:!0,children:[(0,o.jsx)(s.Header,{title:"Predefined PQL Filter"}),(0,o.jsx)(s.Select,{allowClear:!0,className:"w-full",onChange:t,options:n,value:e})]})})},eu=e=>()=>{let{getProps:t}=e();return{getProps:()=>{let e=t();return e.entries.unshift({key:"pql-filter",component:(0,o.jsx)(eg,{}),icon:(0,o.jsx)(s.Icon,{value:"pimcore"})}),e}}},ep=e=>()=>{let{getArgs:t,...n}=e(),{pqlFilter:i}=ed();return{...n,getArgs:()=>{var e,n,r;let o=t();return{...o,body:{...o.body,filters:{...null==(e=o.body)?void 0:e.filters,columnFilters:[...(null==(r=o.body)||null==(n=r.filters)?void 0:n.columnFilters)??[],...null!==i?[{type:"system.pql",locale:null,filterValue:i}]:[]]}}}}}},ey=e=>{let{useSidebarOptions:t,ContextComponent:n,useDataQueryHelper:i}=e;return{...e,ContextComponent:em(n),useSidebarOptions:eu(t),useDataQueryHelper:ep(i)}},ex=e=>t=>(0,o.jsx)(s.ContentLayout,{renderTopBar:(0,o.jsx)(s.Toolbar,{position:"top",theme:"secondary",children:(0,o.jsx)(s.Header,{title:"Cars"})}),children:(0,o.jsx)(e,{})}),eb=e=>{let{ViewComponent:t}=e;return{...e,ViewComponent:ex(t)}},eh=()=>(0,o.jsxs)(s.Toolbar,{theme:"secondary",children:[(0,o.jsx)(s.Flex,{gap:"small",children:(0,o.jsx)(g.SlotRenderer,{slot:"carsListing.toolbar.left"})}),(0,o.jsx)(s.Flex,{gap:"small",children:(0,o.jsx)(g.SlotRenderer,{slot:"carsListing.toolbar.right"})})]}),ev=()=>(0,o.jsx)(s.Button,{children:"Injected Plugin Button"}),eT={onInit:()=>{let e=i.container.get(r.serviceIds.mainNavRegistry);e.registerMainNavItem({path:"Example Plugin",icon:"pimcore"}),e.registerMainNavItem({path:"Example Plugin/Listing Examples/Cars Listing",widgetConfig:{name:"Cars",id:"cars-listing",component:"cars-listing",config:{icon:{type:"name",value:"car"}}}}),i.container.get(r.serviceIds.widgetManager).registerWidget({name:"cars-listing",component:el}),i.container.bind("Cars/Listing/Builder").toConstantValue(i.container.get("DataObject/Listing/Builder").copy());let t=i.container.get("Cars/Listing/Builder");t.addDecorator({name:"pql-filter",decorator:ey}),t.addDecorator({name:"header",decorator:eb}),t.removeDecorator("generalFilters");let n=t.getDecorator("classDefinitionSelection");if(void 0!==n){let e={...n.config,classRestriction:[{classes:"Car"}]};t.overrideDecorator({name:"classDefinitionSelection",config:e})}let o=i.container.get(r.serviceIds["App/ComponentRegistry/ComponentRegistry"]);o.registerConfig({carsListing:{toolbar:{component:{name:"carsListing.toolbar",type:g.ComponentType.SINGLE},left:{type:g.ComponentType.SLOT,name:"carsListing.toolbar.left"},right:{type:g.ComponentType.SLOT,name:"carsListing.toolbar.right"}}}}),o.register({name:"carsListing.toolbar",component:eh});let a=o.getSlotComponents(g.componentConfig.dataObject.listing.toolbar.left.name),l=o.getSlotComponents(g.componentConfig.dataObject.listing.toolbar.right.name);for(let e of a)o.registerToSlot("carsListing.toolbar.left",e);for(let e of(o.registerToSlot("carsListing.toolbar.right",{name:"extraButton",component:ev}),l))o.registerToSlot("carsListing.toolbar.right",e);o.getSlotComponents("carsListing.toolbar.left")}},eC={name:"ListingPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(eT)}};var eD=n(9277);let eE=e=>{let{data:t,providerKey:n,refresh:i,onSortingChange:r,...a}=e,l=(0,W.Cl)(),c=[l.accessor("id",{header:"ID",size:80}),l.accessor("name",{header:"Name"}),l.accessor("lastname",{header:"LastName"}),l.accessor("actions",{header:"Actions",size:80,enableSorting:!1,cell:e=>{let{row:t}=e,r=t.original;return(0,o.jsxs)(s.Flex,{children:[(0,o.jsx)(eD.ExportButton,{id:r.id,providerKey:n,tooltip:{title:"Export"}}),r.__gdprIsDeletable&&(0,o.jsx)(s.IconButton,{icon:{value:"trash"},onClick:()=>{null==i||i()},tooltip:{title:"Delete"}})]})}})];return(0,o.jsx)(s.Grid,{autoWidth:!0,columns:c,data:t.map(e=>e.data),enableSorting:!0,...a})};class eI extends eD.DynamicTypeAbstractGDPRProvider{getTabContent(e){return(0,o.jsx)(eE,{...e})}constructor(...e){super(...e),this.id="my_data_provider"}}eI=(0,P.gn)([(0,r.injectable)()],eI);let ef={onInit:()=>{i.container.get(r.serviceIds["DynamicTypes/GDPRProviderRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/GDPRProvider/MyProvider"))}},ej={name:"GdprDataExtractorPlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/DynamicTypes/GDPRProvider/MyProvider").to(eI).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(ef)}};var eS=n(3172);class eA extends $.TabManager{constructor(){super(),this.type="book"}}eA=(0,P.gn)([(0,r.injectable)(),(0,P.w6)("design:type",Function),(0,P.w6)("design:paramtypes",[])],eA);let eB="ExampleBundle/Document/Editor/BookTabManager",ew=()=>{i.container.get(r.serviceIds["Document/Editor/TypeRegistry"]).register({name:"book",tabManagerServiceId:eB})},eP=()=>{let e=i.container.get(eB);e.register(eS.TAB_EDIT),e.register(eS.TAB_PREVIEW),e.register($.TAB_PROPERTIES),e.register(eS.TAB_VERSIONS),e.register($.TAB_DEPENDENCIES),e.register($.TAB_NOTES_AND_EVENTS),e.register($.TAB_TAGS),e.register($.TAB_WORKFLOW)},eM=()=>{let e=i.container.get("Document/Editor/Sidebar/BookSidebarManager");e.registerEntry(eS.SIDEBAR_AREABLOCK_TYPES),e.registerEntry(eS.SIDEBAR_CONTENT_SETTINGS),e.registerEntry(eS.SIDEBAR_DOCUMENT_CONFIGURATION)},eF=()=>{let e=i.container.get(r.serviceIds["App/ContextMenuRegistry/ContextMenuRegistry"]),t=g.contextMenuConfig.documentTree;e.registerToSlot(t.name,{name:"addBook",priority:t.priority.addHardlink+2,useMenuItem:e=>{let{t}=(0,r.useTranslation)(),{addDocumentTreeContextMenuItem:n}=(0,eS.useAddDocument)({type:"book",iconValue:"book",contextMenuKey:"addBook",formType:eS.AddDocumentFormType.KEY_ONLY,modalTitle:t("document.tree.context-menu.add-book","Add Book")});return n(e.target)}})},eL={onInit:()=>{ew(),eP(),eM(),eF()}},eR={name:"CustomDocumentTypePlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/Document/Editor/BookTabManager").to(eA).inSingletonScope(),t.bind("Document/Editor/Sidebar/BookSidebarManager").to(eS.DocumentSidebarManager).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(eL)}};class ek extends $.TabManager{constructor(){super(),this.type="indesign"}}ek=(0,P.gn)([(0,r.injectable)(),(0,P.w6)("design:type",Function),(0,P.w6)("design:paramtypes",[])],ek);let eN="ExampleBundle/Asset/Editor/InDesignTabManager",eO=()=>{i.container.get(r.serviceIds["Asset/Editor/TypeRegistry"]).register({name:"indesign",tabManagerServiceId:eN})},eW=()=>{let e=i.container.get(eN);e.register(u.TAB_CUSTOM_METADATA),e.register($.TAB_PROPERTIES),e.register(u.TAB_VERSIONS),e.register($.TAB_DEPENDENCIES),e.register($.TAB_NOTES_AND_EVENTS),e.register($.TAB_TAGS),e.register($.TAB_WORKFLOW)},e_={onInit:()=>{eO(),eW()}},eG={name:"CustomAssetTypePlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/Asset/Editor/InDesignTabManager").to(ek).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(e_)}};var eH=n(2036);let eU=(0,n(7468).kc)(e=>{let{token:t}=e;return{markdownTextarea:{fontFamily:"monospace",padding:"8px",border:`1px solid ${t.colorBorder}`,borderRadius:`${t.borderRadius}px`,resize:"both",outline:"none","&:hover":{borderColor:t.colorPrimaryHover},"&:focus":{borderColor:t.colorPrimary,boxShadow:`0 0 0 2px ${t.colorPrimaryBg}`}}}}),ez=e=>{let{value:t,onChange:n,config:i,inherited:r=!1}=e,{styles:a}=eU();return(0,o.jsx)(eS.InheritanceOverlay,{isInherited:r,onOverwrite:()=>{null==n||n(t??"")},children:(0,o.jsx)("textarea",{className:`${a.markdownTextarea} ${(null==i?void 0:i.class)??""}`.trim(),onChange:e=>{null==n||n(e.target.value)},placeholder:null==i?void 0:i.placeholder,style:{width:(null==i?void 0:i.width)??600,height:(null==i?void 0:i.height)??300},value:t??""})})};class eq extends $.DynamicTypeDocumentEditableAbstract{getEditableDataComponent(e){return(0,o.jsx)(ez,{config:e.config,inherited:e.inherited})}isEmpty(e,t){return!(0,eH.isNonEmptyString)(e)}constructor(...e){super(...e),this.id="markdown"}}eq=(0,P.gn)([(0,r.injectable)()],eq);let eV={onInit:()=>{i.container.get(r.serviceIds["DynamicTypes/DocumentEditableRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/DocumentEditable/Markdown"))}},eK={name:"CustomDocumentEditablePlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/DynamicTypes/DocumentEditable/Markdown").to(eq).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(eV)}};var eQ=n(4345);class e$ extends $.DynamicTypeObjectDataAbstractInput{getObjectDataComponent(e){return super.getObjectDataComponent(e)}getDefaultGridColumnWidth(){return 350}constructor(...e){super(...e),this.id="simpleText",this.dynamicTypeFieldFilterType=i.container.get(r.serviceIds["DynamicTypes/FieldFilter/String"])}}e$=(0,P.gn)([(0,eQ.b2)()],e$);var eY=n(8407);class eJ extends eY.DynamicTypeFieldDefinitionDataAbstract{getIcon(){return{type:"name",value:"text-input"}}getGroup(){return[...super.getGroup(),"text"]}getSpecificFormFields(){return(0,o.jsx)(o.Fragment,{})}constructor(...e){super(...e),this.id="simpleText"}}eJ=(0,P.gn)([(0,eQ.b2)()],eJ);let eX={onInit:()=>{i.container.get(r.serviceIds["DynamicTypes/ObjectDataRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/ObjectData/SimpleText")),i.container.get(r.serviceIds["DynamicTypes/FieldDefinitionRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/FieldDefinition/SimpleText"))}},eZ={name:"CustomObjectDatatypePlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/DynamicTypes/ObjectData/SimpleText").to(e$).inSingletonScope(),t.bind("ExampleBundle/DynamicTypes/FieldDefinition/SimpleText").to(eJ).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(eX)}};class e0 extends $.DynamicTypeObjectLayoutAbstract{getObjectLayoutComponent(e){return(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:e.html??""}})}constructor(...e){super(...e),this.id="simpleTextLayout"}}e0=(0,P.gn)([(0,eQ.b2)()],e0);class e1 extends eY.DynamicTypeFieldDefinitionLayoutAbstract{getIcon(){return{type:"name",value:"text-field"}}getGroup(){return[...super.getGroup(),"text"]}getDefaultData(){return{...super.getDefaultData(),html:""}}getSpecificFormFields(){return(0,o.jsx)(s.Form.Item,{label:"HTML Content",name:"html",children:(0,o.jsx)(s.TextArea,{rows:6})})}constructor(...e){super(...e),this.id="simpleTextLayout"}}e1=(0,P.gn)([(0,eQ.b2)()],e1);let e2={onInit:()=>{i.container.get(r.serviceIds["DynamicTypes/ObjectLayoutRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/ObjectLayout/SimpleTextLayout")),i.container.get(r.serviceIds["DynamicTypes/FieldDefinitionRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/FieldDefinition/SimpleTextLayout"))}},e9={name:"CustomObjectLayoutTypePlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/DynamicTypes/ObjectLayout/SimpleTextLayout").to(e0).inSingletonScope(),t.bind("ExampleBundle/DynamicTypes/FieldDefinition/SimpleTextLayout").to(e1).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(e2)}},e5=e=>{let t=Number(e.getValue()),n=Math.min(100,Math.max(0,isNaN(t)?0:t)),i={width:`${n}%`,height:"100%",backgroundColor:n<30?"#f5222d":n<=70?"#faad14":"#52c41a",borderRadius:4,transition:"width 0.3s ease"};return(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,width:"100%",padding:"0 8px"},children:[(0,o.jsx)("div",{style:{flex:1,height:16,backgroundColor:"#f0f0f0",borderRadius:4,overflow:"hidden"},children:(0,o.jsx)("div",{style:i})}),(0,o.jsxs)("span",{style:{fontSize:12,whiteSpace:"nowrap",minWidth:36,textAlign:"right"},children:[n,"%"]})]})};class e8 extends $.DynamicTypeGridCellAbstract{getGridCellComponent(e){return(0,o.jsx)(e5,{...e})}getDefaultGridColumnWidth(){return 180}constructor(...e){super(...e),this.id="progressBar"}}e8=(0,P.gn)([(0,eQ.b2)()],e8);let e4={onInit:()=>{i.container.get(r.serviceIds["DynamicTypes/GridCellRegistry"]).registerDynamicType(i.container.get("ExampleBundle/DynamicTypes/GridCell/ProgressBar"))}},e3={name:"CustomGridColumnPlugin",onInit:e=>{let{container:t}=e;t.bind("ExampleBundle/DynamicTypes/GridCell/ProgressBar").to(e8).inSingletonScope()},onStartup:e=>{let{moduleSystem:t}=e;t.registerModule(e4)}};var e6=n(4654);let e7=()=>{let{triggeredWorkflowAction:e}=(0,$.useWorkflow)(),t=(null==e?void 0:e.workflowId)==="simple_approval"&&(null==e?void 0:e.transitionId)==="request_review",{data:n,isLoading:i}=(0,e6.useUserGetCollectionQuery)(void 0,{skip:!t});if(!t)return null;let r=((null==n?void 0:n.items)??[]).map(e=>({label:e.username,value:e.id}));return(0,o.jsx)(s.Form.Item,{label:"Reviewers",name:"reviewers",rules:[{required:!0,message:"Please select at least one reviewer."}],children:(0,o.jsx)(s.Select,{loading:i,mode:"multiple",options:r,placeholder:"Select reviewers"})})},te={onInit(){i.container.get(r.serviceIds["App/ComponentRegistry/ComponentRegistry"]).registerToSlot(g.componentConfig.element.editor.workflow.modal.slots.center.name,{name:"reviewers",priority:100,component:e7})}},tt={name:"WorkflowModalExtensionPlugin",onStartup(e){let{moduleSystem:t}=e;t.registerModule(te)}},tn={onInit:()=>{i.container.get(r.serviceIds["DynamicTypes/ThemeRegistry"]).registerDynamicType(i.container.get("DynamicTypes/Theme/ExampleOcean"))}};class ti extends g.DynamicTypeThemeAbstract{getThemeConfig(){return{token:{colorPrimary:"#00595E",colorPrimaryHover:"#004E52",colorPrimaryActive:"#003C40",colorPrimaryText:"#00595E",colorPrimaryTextHover:"#004E52",colorPrimaryTextActive:"#003C40",colorLink:"#00595E",colorLinkHover:"#004E52",colorLinkActive:"#003C40",colorAccent:"#087881",colorAccentSecondary:"#0B6B73",colorBorderActive:"#087881",colorBorderActiveTab:"#00595E",colorLogo:"#00595E",controlItemBgActiveHover:"#DEF1F1",controlItemBgActive:"#A7D8D8",controlOutline:"rgba(0, 89, 94, 0.12)",colorFill:"rgba(127, 199, 199, 0.35)",colorFillQuaternary:"rgba(127, 199, 199, 0.22)",colorFillActive:"#A7D8D8",colorFillAlter:"rgba(127, 199, 199, 0.22)",colorFillNav:"rgba(0, 89, 94, 0.08)",itemActiveColor:"#00595E",itemSelectedColor:"#00595E",itemHoverColor:"rgba(127, 199, 199, 0.45)",colorBgUnselectedTab:"rgba(127, 199, 199, 0.22)",colorBgHoverUnselectedTab:"rgba(127, 199, 199, 0.40)",colorBgToolbar:"#EAF6F6",colorBgSidebarOptions:"#EAF6F6",colorBgMainNavColumn:"rgba(0, 89, 94, 0.05)",colorBgFieldset:"#F2FBFB",colorBorderFieldset:"#CFE6E6",colorIconSecondary:"#3E5C5C",colorIconSidebar:"#06363A",itemUnselectedIconColor:"#3E5C5C",colorTextSidebarTitle:"#00595E",colorBorderTertiary:"#E1EAEA",colorBorderContainer:"#E1EAEA",colorBorderPanelTitle:"#A7D8D8",colorInfoBorderHover:"#4FB3BA",colorFillAdditional:"#EAF6F6",colorBgCanvas:"#F4FAF9",colorBgLogoOrbit:"rgba(0, 89, 94, 0.12)"},components:{Table:{controlItemBgActive:"#A7D8D8"},Tabs:{itemActiveColor:"#00595E",itemSelectedColor:"#00595E",inkBarColor:"#00595E",colorBorderActiveTab:"#00595E",itemHoverColor:"rgba(127, 199, 199, 0.45)",colorBgUnselectedTab:"rgba(127, 199, 199, 0.22)",colorBgHoverUnselectedTab:"rgba(127, 199, 199, 0.40)",itemUnselectedIconColor:"#3E5C5C",colorBorderContainer:"#E1EAEA"},Tag:{colorPrimary:"#087881",colorPrimaryHover:"#004E52",colorPrimaryActive:"#003C40",colorFillQuaternary:"rgba(127, 199, 199, 0.22)",colorInfoBg:"#E6F4F4",colorInfoBorder:"#A7D8D8"},Pagination:{colorPrimary:"#00595E"},Tree:{colorBorderTree:"#E1EAEA",colorPrimaryHeading:"#00595E"},Divider:{colorSplit:"#CFE6E6"},Button:{defaultBorderColor:"#A7D8D8",defaultColor:"#00595E",defaultGhostColor:"#00595E"},Breadcrumb:{lastItemColor:"#00595E"},Avatar:{colorUserIndicator:"#00595E"},Alert:{colorInfo:"#087881",colorInfoBg:"#E6F4F4",colorInfoBorder:"#A7D8D8"},Colors:{Neutral:{Fill:{colorFill:"rgba(127, 199, 199, 0.35)"}},Brand:{Primary:{colorPrimaryText:"#003C40"}}}}}}constructor(...e){super(...e),this.id="studio-example-ocean",this.extends=[g.studioThemeIds.light]}}ti=(0,P.gn)([(0,r.injectable)()],ti);let tr={name:"CustomThemePlugin",onInit(e){let{container:t}=e;t.bind("DynamicTypes/Theme/ExampleOcean").to(ti)},onStartup(e){let{moduleSystem:t}=e;t.registerModule(tn)}}}}]); \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/main.06485e1c.js b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/main.06485e1c.js deleted file mode 100644 index cc05f04..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/main.06485e1c.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={1661:function(){}},r={};function n(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.m=e,n.c=r,n.federation||(n.federation={chunkMatcher:function(e){return!0},rootOutputDir:"../../"}),n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e=[];n.O=(r,o,a,i)=>{if(o){i=i||0;for(var t=e.length;t>0&&e[t-1][2]>i;t--)e[t]=e[t-1];e[t]=[o,a,i];return}for(var u=1/0,t=0;t=i)&&Object.keys(n.O).every(e=>n.O[e](o[c]))?o.splice(c--,1):(s=!1,i"1.3.9",n.S={},n.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"react-dom",version:"18.3.1",factory:()=>()=>n(3935),eager:1,singleton:1,requiredVersion:"*"},{name:"react",version:"18.3.1",factory:()=>()=>n(7294),eager:1,singleton:1,requiredVersion:"*"}]},uniqueName:"pimcore_studio_example_bundle"},n.I=n.I||function(){throw Error("should have __webpack_require__.I")},n.consumesLoadingData={chunkMapping:{909:["5136"]},moduleIdToConsumeDataMapping:{5136:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!0,fallback:()=>()=>n(7294)}},initialConsumes:["5136"]},(()=>{var e={909:0};n.O.j=r=>0===e[r];var r=(r,o)=>{var a,i,[t,u,s]=o,c=0;if(t.some(r=>0!==e[r])){for(a in u)n.o(u,a)&&(n.m[a]=u[a]);if(s)var l=s(n)}for(r&&r(o);c{"use strict";var __webpack_modules__={4448:function(e,t,n){var r,a,o,l,i,u,s=n(5136),c=n(3840);function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function k(e,t,n,r,a,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){x[e]=new k(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];x[t]=new k(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){x[e]=new k(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){x[e]=new k(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){x[e]=new k(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){x[e]=new k(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){x[e]=new k(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){x[e]=new k(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){x[e]=new k(e,5,!1,e.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function R(e){return e[1].toUpperCase()}function I(e,t,n,r){var a=x.hasOwnProperty(t)?x[t]:null;(null!==a?0!==a.type:r||!(2--i||a[l]!==o[i]){var u="\n"+a[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=i);break}}}finally{Q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?q(e):""}function Y(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=K(e.type,!1);case 11:return e=K(e.type.render,!1);case 1:return e=K(e.type,!0);default:return""}}function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case M:return"Fragment";case P:return"Portal";case $:return"Profiler";case O:return"StrictMode";case F:return"Suspense";case z:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case L:return(e._context.displayName||"Context")+".Provider";case D:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:X(e.type)||"Memo";case H:t=e._payload,e=e._init;try{return X(e(t))}catch(e){}}return null}function J(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=(e=t.render).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 X(t);case 8:return t===O?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ee(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function et(e){var t=ee(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function en(e){e._valueTracker||(e._valueTracker=et(e))}function er(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ee(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ea(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function eo(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function el(e,t){var n=null==t.defaultValue?"":t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:n=Z(null!=t.value?t.value:n),controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ei(e,t){null!=(t=t.checked)&&I(e,"checked",t,!1)}function eu(e,t){ei(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ec(e,t.type,n):t.hasOwnProperty("defaultValue")&&ec(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function es(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&(void 0===t.value||null===t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ec(e,t,n){("number"!==t||ea(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ef=Array.isArray;function ed(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=eb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function eS(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var ew={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},eE=["Webkit","ms","Moz","O"];function ek(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ew.hasOwnProperty(e)&&ew[e]?(""+t).trim():t+"px"}function ex(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ek(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ew).forEach(function(e){eE.forEach(function(t){ew[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=ew[e]})});var eN=G({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 eR(e,t){if(t){if(eN[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(f(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(f(62))}}function eI(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eT=null;function eC(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eP=null,eM=null,eO=null;function e$(e){if(e=r3(e)){if("function"!=typeof eP)throw Error(f(280));var t=e.stateNode;t&&(t=r5(t),eP(e.stateNode,e.type,t))}}function eL(e){eM?eO?eO.push(e):eO=[e]:eM=e}function eA(){if(eM){var e=eM,t=eO;if(eO=eM=null,e$(e),t)for(e=0;e>>=0)?32:31-(ts(e)/tc|0)|0}var td=64,tp=4194304;function th(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 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function tm(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,l=0xfffffff&n;if(0!==l){var i=l&~a;0!==i?r=th(i):0!=(o&=l)&&(r=th(o))}else 0!=(l=n&~a)?r=th(l):0!==o&&(r=th(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function tS(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tu(t)]=n}function tw(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0=nR),nC=" ",nP=!1;function nM(e,t){switch(e){case"keyup":return -1!==nx.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nO(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var n$=!1;function nL(e,t){switch(e){case"compositionend":return nO(t);case"keypress":if(32!==t.which)return null;return nP=!0,nC;case"textInput":return(e=t.data)===nC&&nP?null:e;default:return null}}function nA(e,t){if(n$)return"compositionend"===e||!nN&&nM(e,t)?(e=t6(),t5=t4=t3=null,n$=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=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=n3(r)}}function n5(e,t){return!!e&&!!t&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?n5(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function n6(){for(var e=window,t=ea();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=ea(e.document)}return t}function n8(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function n9(e){var t=n6(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&n5(n.ownerDocument.documentElement,n)){if(null!==r&&n8(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=n4(n,o);var l=n4(n,r);a&&l&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,re=null,rt=null,rn=null,rr=!1;function ra(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;rr||null==re||re!==ea(r)||(r="selectionStart"in(r=re)&&n8(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},rn&&n2(rn,r)||(rn=r,0<(r=rC(rt,"onSelect")).length&&(t=new no("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=re)))}function ro(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var rl={animationend:ro("Animation","AnimationEnd"),animationiteration:ro("Animation","AnimationIteration"),animationstart:ro("Animation","AnimationStart"),transitionend:ro("Transition","TransitionEnd")},ri={},ru={};function rs(e){if(ri[e])return ri[e];if(!rl[e])return e;var t,n=rl[e];for(t in n)if(n.hasOwnProperty(t)&&t in ru)return ri[e]=n[t];return e}g&&(ru=document.createElement("div").style,"AnimationEvent"in window||(delete rl.animationend.animation,delete rl.animationiteration.animation,delete rl.animationstart.animation),"TransitionEvent"in window||delete rl.transitionend.transition);var rc=rs("animationend"),rf=rs("animationiteration"),rd=rs("animationstart"),rp=rs("transitionend"),rh=new Map,rm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rg(e,t){rh.set(e,t),h(t,[e])}for(var ry=0;ryr8||(e.current=r6[r8],r6[r8]=null,r8--)}function ae(e,t){r6[++r8]=e.current,e.current=t}var at={},an=r9(at),ar=r9(!1),aa=at;function ao(e,t){var n=e.type.contextTypes;if(!n)return at;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function al(e){return null!=(e=e.childContextTypes)}function ai(){r7(ar),r7(an)}function au(e,t,n){if(an.current!==at)throw Error(f(168));ae(an,t),ae(ar,n)}function as(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(f(108,J(e)||"Unknown",a));return G({},n,r)}function ac(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||at,aa=an.current,ae(an,e),ae(ar,ar.current),!0}function af(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(r.__reactInternalMemoizedMergedChildContext=e=as(e,t,aa),r7(ar),r7(an),ae(an,e)):r7(ar),ae(ar,n)}var ad=null,ap=!1,ah=!1;function am(e){null===ad?ad=[e]:ad.push(e)}function ag(e){ap=!0,am(e)}function ay(){if(!ah&&null!==ad){ah=!0;var e=0,t=tk;try{var n=ad;for(tk=1;e>=l,a-=l,ax=1<<32-tu(t)+a|n<m?(g=f,f=null):g=f.sibling;var y=p(a,f,i[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(a,f),l=o(y,l,m),null===c?s=y:c.sibling=y,c=y,f=g}if(m===i.length)return n(a,f),aO&&aR(a,m),s;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=p(a,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),l=o(b,l,g),null===c?s=b:c.sibling=b,c=b,m=y}if(v.done)return n(a,m),aO&&aR(a,g),s;if(null===m){for(;!v.done;g++,v=i.next())null!==(v=d(a,v.value,u))&&(l=o(v,l,g),null===c?s=v:c.sibling=v,c=v);return aO&&aR(a,g),s}for(m=r(a,m);!v.done;g++,v=i.next())null!==(v=h(m,a,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),l=o(v,l,g),null===c?s=v:c.sibling=v,c=v);return e&&m.forEach(function(e){return t(a,e)}),aO&&aR(a,g),s}function y(e,r,o,i){if("object"==typeof o&&null!==o&&o.type===M&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case C:e:{for(var u=o.key,s=r;null!==s;){if(s.key===u){if((u=o.type)===M){if(7===s.tag){n(e,s.sibling),(r=a(s,o.props.children)).return=e,e=r;break e}}else if(s.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===H&&aq(u)===s.type){n(e,s.sibling),(r=a(s,o.props)).ref=aW(e,s,o),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}o.type===M?((r=uN(o.props.children,e.mode,i,o.key)).return=e,e=r):((i=ux(o.type,o.key,o.props,null,e.mode,i)).ref=aW(e,r,o),i.return=e,e=i)}return l(e);case P:e:{for(s=o.key;null!==r;){if(r.key===s)if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}else{n(e,r);break}t(e,r),r=r.sibling}(r=uT(o,e.mode,i)).return=e,e=r}return l(e);case H:return y(e,r,(s=o._init)(o._payload),i)}if(ef(o))return m(e,r,o,i);if(B(o))return g(e,r,o,i);aG(e,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e):(n(e,r),(r=uI(o,e.mode,i)).return=e),l(e=r)):n(e,r)}return y}var aK=aQ(!0),aY=aQ(!1),aX=r9(null),aJ=null,aZ=null,a0=null;function a1(){a0=aZ=aJ=null}function a2(e){var t=aX.current;r7(aX),e._currentValue=t}function a3(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function a4(e,t){aJ=e,a0=aZ=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(lR=!0),e.firstContext=null)}function a5(e){var t=e._currentValue;if(a0!==e)if(e={context:e,memoizedValue:t,next:null},null===aZ){if(null===aJ)throw Error(f(308));aZ=e,aJ.dependencies={lanes:0,firstContext:e}}else aZ=aZ.next=e;return t}var a6=null;function a8(e){null===a6?a6=[e]:a6.push(e)}function a9(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,a8(t)):(n.next=a.next,a.next=n),t.interleaved=n,a7(e,r)}function a7(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var oe=!1;function ot(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function on(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})}function or(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&iN)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,a7(e,n)}return null===(a=r.interleaved)?(t.next=t,a8(r)):(t.next=a.next,a.next=t),r.interleaved=t,a7(e,n)}function oo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tE(e,n)}}function ol(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function oi(e,t,n,r){var a=e.updateQueue;oe=!1;var o=a.firstBaseUpdate,l=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,s=u.next;u.next=null,null===l?o=s:l.next=s,l=u;var c=e.alternate;null!==c&&(i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u)}if(null!==o){var f=a.baseState;for(l=0,c=s=u=null,i=o;;){var d=i.lane,p=i.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(p,f,d):h))break e;f=G({},f,d);break e;case 2:oe=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[i]:d.push(i))}else p={eventTime:p,lane:d,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,l|=d;if(null===(i=i.next))if(null===(i=a.shared.pending))break;else i=(d=i).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do l|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);i$|=l,e.lanes=l,e.memoizedState=f}}function ou(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=oE.transition;oE.transition={};try{e(!1),t()}finally{tk=n,oE.transition=r}}function le(){return oD().memoizedState}function lt(e,t,n){var r=iZ(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lr(e)?la(t,n):null!==(n=a9(e,t,n,r))&&(i0(n,e,r,iJ()),lo(n,t,r))}function ln(e,t,n){var r=iZ(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lr(e))la(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(a.hasEagerState=!0,a.eagerState=i,n1(i,l)){var u=t.interleaved;null===u?(a.next=a,a8(t)):(a.next=u.next,u.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=a9(e,t,a,r))&&(i0(n,e,r,a=iJ()),lo(n,t,r))}}function lr(e){var t=e.alternate;return e===ox||null!==t&&t===ox}function la(e,t){oT=oI=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lo(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,tE(e,n)}}var ll={readContext:a5,useCallback:oM,useContext:oM,useEffect:oM,useImperativeHandle:oM,useInsertionEffect:oM,useLayoutEffect:oM,useMemo:oM,useReducer:oM,useRef:oM,useState:oM,useDebugValue:oM,useDeferredValue:oM,useTransition:oM,useMutableSource:oM,useSyncExternalStore:oM,useId:oM,unstable_isNewReconciler:!1},li={readContext:a5,useCallback:function(e,t){return oA().memoizedState=[e,void 0===t?null:t],e},useContext:a5,useEffect:oZ,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oX(4194308,4,o3.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oX(4194308,4,e,t)},useInsertionEffect:function(e,t){return oX(4,2,e,t)},useMemo:function(e,t){return t=void 0===t?null:t,oA().memoizedState=[e=e(),t],e},useReducer:function(e,t,n){var r=oA();return r.memoizedState=r.baseState=t=void 0!==n?n(t):t,r.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=lt.bind(null,ox,e),[r.memoizedState,e]},useRef:function(e){return oA().memoizedState=e={current:e}},useState:oQ,useDebugValue:o5,useDeferredValue:function(e){return oA().memoizedState=e},useTransition:function(){var e=oQ(!1),t=e[0];return e=o7.bind(null,e[1]),oA().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ox,a=oA();if(aO){if(void 0===n)throw Error(f(407));n=n()}else{if(n=t(),null===iR)throw Error(f(349));0!=(30&ok)||oV(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oZ(oW.bind(null,r,o,e),[e]),r.flags|=2048,oK(9,oB.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=oA(),t=iR.identifierPrefix;if(aO){var n=aN,r=ax;t=":"+t+"R"+(n=(r&~(1<<32-tu(r)-1)).toString(32)+n),0<(n=oC++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=oP++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},lu={readContext:a5,useCallback:o6,useContext:a5,useEffect:o0,useImperativeHandle:o4,useInsertionEffect:o1,useLayoutEffect:o2,useMemo:o8,useReducer:oz,useRef:oY,useState:function(){return oz(oF)},useDebugValue:o5,useDeferredValue:function(e){return o9(oD(),oN.memoizedState,e)},useTransition:function(){return[oz(oF)[0],oD().memoizedState]},useMutableSource:oH,useSyncExternalStore:oU,useId:le,unstable_isNewReconciler:!1},ls={readContext:a5,useCallback:o6,useContext:a5,useEffect:o0,useImperativeHandle:o4,useInsertionEffect:o1,useLayoutEffect:o2,useMemo:o8,useReducer:oj,useRef:oY,useState:function(){return oj(oF)},useDebugValue:o5,useDeferredValue:function(e){var t=oD();return null===oN?t.memoizedState=e:o9(t,oN.memoizedState,e)},useTransition:function(){return[oj(oF)[0],oD().memoizedState]},useMutableSource:oH,useSyncExternalStore:oU,useId:le,unstable_isNewReconciler:!1};function lc(e,t){if(e&&e.defaultProps)for(var n in t=G({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function lf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:G({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ld={isMounted:function(e){return!!(e=e._reactInternals)&&eJ(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=iJ(),a=iZ(e),o=or(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=oa(e,o,a))&&(i0(t,e,a,r),oo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=iJ(),a=iZ(e),o=or(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=oa(e,o,a))&&(i0(t,e,a,r),oo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=iJ(),r=iZ(e),a=or(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=oa(e,a,r))&&(i0(t,e,r,n),oo(t,e,r))}};function lp(e,t,n,r,a,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,l):!t.prototype||!t.prototype.isPureReactComponent||!n2(n,r)||!n2(a,o)}function lh(e,t,n){var r=!1,a=at,o=t.contextType;return"object"==typeof o&&null!==o?o=a5(o):(a=al(t)?aa:an.current,o=(r=null!=(r=t.contextTypes))?ao(e,a):at),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ld,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function lm(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ld.enqueueReplaceState(t,t.state,null)}function lg(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},ot(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=a5(o):a.context=ao(e,o=al(t)?aa:an.current),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(lf(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&ld.enqueueReplaceState(a,a.state,null),oi(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ly(e,t){try{var n="",r=t;do n+=Y(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function lv(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function lb(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var l_="function"==typeof WeakMap?WeakMap:Map;function lS(e,t,n){(n=or(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){iU||(iU=!0,iV=r),lb(e,t)},n}function lw(e,t,n){(n=or(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){lb(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){lb(e,t),"function"!=typeof r&&(null===iB?iB=new Set([this]):iB.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function lE(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new l_;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=um.bind(null,e,t,n),t.then(e,e))}function lk(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function lx(e,t,n,r,a){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=or(-1,1)).tag=2,oa(n,t,1))),n.lanes|=1):(e.flags|=65536,e.lanes=a),e}var lN=T.ReactCurrentOwner,lR=!1;function lI(e,t,n,r){t.child=null===e?aY(t,null,n,r):aK(t,e.child,n,r)}function lT(e,t,n,r,a){n=n.render;var o=t.ref;return(a4(t,a),r=o$(e,t,n,r,o,a),n=oL(),null===e||lR)?(aO&&n&&aT(t),t.flags|=1,lI(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,lK(e,t,a))}function lC(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||uw(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ux(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,lP(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:n2)(l,r)&&e.ref===t.ref)return lK(e,t,a)}return t.flags|=1,(e=uk(o,r)).ref=t.ref,e.return=t,t.child=e}function lP(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n2(o,r)&&e.ref===t.ref)if(lR=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,lK(e,t,a);else 0!=(131072&e.flags)&&(lR=!0)}return l$(e,t,n,r,a)}function lM(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(iP,iC),iC|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(iP,iC),iC|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,ae(iP,iC),iC|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ae(iP,iC),iC|=r;return lI(e,t,a,n),t.child}function lO(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function l$(e,t,n,r,a){var o=al(n)?aa:an.current;return(o=ao(t,o),a4(t,a),n=o$(e,t,n,r,o,a),r=oL(),null===e||lR)?(aO&&r&&aT(t),t.flags|=1,lI(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,lK(e,t,a))}function lL(e,t,n,r,a){if(al(n)){var o=!0;ac(t)}else o=!1;if(a4(t,a),null===t.stateNode)lQ(e,t),lh(t,n,r),lg(t,n,r,a),r=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var u=l.context,s=n.contextType;s="object"==typeof s&&null!==s?a5(s):ao(t,s=al(n)?aa:an.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==r||u!==s)&&lm(t,l,r,s),oe=!1;var d=t.memoizedState;l.state=d,oi(t,r,l,a),u=t.memoizedState,i!==r||d!==u||ar.current||oe?("function"==typeof c&&(lf(t,n,c,r),u=t.memoizedState),(i=oe||lp(t,n,i,r,d,u,s))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=i):("function"==typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,on(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:lc(t.type,i),l.props=s,f=t.pendingProps,d=l.context,u="object"==typeof(u=n.contextType)&&null!==u?a5(u):ao(t,u=al(n)?aa:an.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==f||d!==u)&&lm(t,l,r,u),oe=!1,d=t.memoizedState,l.state=d,oi(t,r,l,a);var h=t.memoizedState;i!==f||d!==h||ar.current||oe?("function"==typeof p&&(lf(t,n,p,r),h=t.memoizedState),(s=oe||lp(t,n,s,r,d,h,u)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,h,u),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),l.props=r,l.state=h,l.context=u,r=s):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return lA(e,t,n,r,o,a)}function lA(e,t,n,r,a,o){lO(e,t);var l=0!=(128&t.flags);if(!r&&!l)return a&&af(t,n,!1),lK(e,t,o);r=t.stateNode,lN.current=t;var i=l&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=aK(t,e.child,null,o),t.child=aK(t,null,i,o)):lI(e,t,i,o),t.memoizedState=r.state,a&&af(t,n,!0),t.child}function lD(e){var t=e.stateNode;t.pendingContext?au(e,t.pendingContext,t.pendingContext!==t.context):t.context&&au(e,t.context,!1),oh(e,t.containerInfo)}function lF(e,t,n,r,a){return aU(),aV(a),t.flags|=256,lI(e,t,n,r),t.child}var lz={dehydrated:null,treeContext:null,retryLane:0};function lj(e){return{baseLanes:e,cachePool:null,transitions:null}}function lH(e,t,n){var r,a=t.pendingProps,o=ov.current,l=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(l=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),ae(ov,1&o),null===e)return(aF(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(i=a.children,e=a.fallback,l?(a=t.mode,l=t.child,i={mode:"hidden",children:i},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=i):l=uR(i,a,0,null),e=uN(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=lj(n),t.memoizedState=lz,e):lU(t,i));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return lB(e,t,i,a,r,o,n);if(l){l=a.fallback,i=t.mode,r=(o=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&i)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=uk(o,u)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?l=uk(r,l):(l=uN(l,i,n,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,i=null===(i=e.child.memoizedState)?lj(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=lz,a}return e=(l=e.child).sibling,a=uk(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function lU(e,t){return(t=uR({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function lV(e,t,n,r){return null!==r&&aV(r),aK(t,e.child,null,n),e=lU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lB(e,t,n,r,a,o,l){if(n)return 256&t.flags?(t.flags&=-257,lV(e,t,l,r=lv(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=uR({mode:"visible",children:r.children},a,0,null),o=uN(o,a,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&aK(t,e.child,null,l),t.child.memoizedState=lj(l),t.memoizedState=lz,o);if(0==(1&t.mode))return lV(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var i=r.dgst;return r=i,lV(e,t,l,r=lv(o=Error(f(419)),r,void 0))}if(i=0!=(l&e.childLanes),lR||i){if(null!==(r=iR)){switch(l&-l){case 4:a=2;break;case 16:a=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 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==o.retryLane&&(o.retryLane=a,a7(e,a),i0(r,e,a,-1))}return ua(),lV(e,t,l,r=lv(Error(f(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=uy.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,aM=rq(a.nextSibling),aP=t,aO=!0,a$=null,null!==e&&(aw[aE++]=ax,aw[aE++]=aN,aw[aE++]=ak,ax=e.id,aN=e.overflow,ak=t),t=lU(t,r.children),t.flags|=4096,t)}function lW(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),a3(e.return,t,n)}function lG(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function lq(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(lI(e,t,r.children,n),0!=(2&(r=ov.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&lW(e,n,t);else if(19===e.tag)lW(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ae(ov,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===ob(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),lG(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ob(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}lG(t,!0,n,null,o);break;case"together":lG(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lQ(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lK(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),i$|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(n=uk(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=uk(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function lY(e,t,n){switch(t.tag){case 3:lD(t),aU();break;case 5:og(t);break;case 1:al(t.type)&&ac(t);break;case 4:oh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;ae(aX,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return ae(ov,1&ov.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return lH(e,t,n);return ae(ov,1&ov.current),null!==(e=lK(e,t,n))?e.sibling:null}ae(ov,1&ov.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return lq(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),ae(ov,ov.current),!r)return null;break;case 22:case 23:return t.lanes=0,lM(e,t,n)}return lK(e,t,n)}function lX(e,t){if(!aO)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lJ(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lZ(e,t,n){var r=t.pendingProps;switch(aC(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lJ(t),null;case 1:case 17:return al(t.type)&&ai(),lJ(t),null;case 3:return r=t.stateNode,om(),r7(ar),r7(an),oS(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(aj(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==a$&&(i4(a$),a$=null))),o(e,t),lJ(t),null;case 5:oy(t);var u=op(od.current);if(n=t.type,null!==e&&null!=t.stateNode)l(e,t,n,r,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(f(166));return lJ(t),null}if(e=op(oc.current),aj(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[rY]=t,r[rX]=s,e=0!=(1&t.mode),n){case"dialog":rE("cancel",r),rE("close",r);break;case"iframe":case"object":case"embed":rE("load",r);break;case"video":case"audio":for(u=0;u<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rY]=t,e[rX]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=eI(n,r),n){case"dialog":rE("cancel",e),rE("close",e),u=r;break;case"iframe":case"object":case"embed":rE("load",e),u=r;break;case"video":case"audio":for(u=0;uij&&(t.flags|=128,r=!0,lX(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ob(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),lX(s,!0),null===s.tail&&"hidden"===s.tailMode&&!c.alternate&&!aO)return lJ(t),null}else 2*e9()-s.renderingStartTime>ij&&0x40000000!==n&&(t.flags|=128,r=!0,lX(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=s.last)?n.sibling=c:t.child=c,s.last=c)}if(null!==s.tail)return t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=e9(),t.sibling=null,n=ov.current,ae(ov,r?1&n|2:1&n),t;return lJ(t),null;case 22:case 23:return ue(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&iC)&&(lJ(t),6&t.subtreeFlags&&(t.flags|=8192)):lJ(t),null;case 24:case 25:return null}throw Error(f(156,t.tag))}function l0(e,t){switch(aC(t),t.tag){case 1:return al(t.type)&&ai(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return om(),r7(ar),r7(an),oS(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oy(t),null;case 13:if(r7(ov),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));aU()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return r7(ov),null;case 4:return om(),null;case 10:return a2(t.type._context),null;case 22:case 23:return ue(),null;default:return null}}a=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},o=function(){},l=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,op(oc.current);var o,l=null;switch(n){case"input":a=eo(e,a),r=eo(e,r),l=[];break;case"select":a=G({},a,{value:void 0}),r=G({},r,{value:void 0}),l=[];break;case"textarea":a=ep(e,a),r=ep(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rD)}for(s in eR(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s){var i=a[s];for(o in i)i.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var u=r[s];if(i=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&u!==i&&(null!=u||null!=i))if("style"===s)if(i){for(o in i)!i.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&i[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(l||(l=[]),l.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,i=i?i.__html:void 0,null!=u&&i!==u&&(l=l||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&rE("scroll",e),l||i===u||(l=[])):(l=l||[]).push(s,u))}n&&(l=l||[]).push("style",n);var s=l;(t.updateQueue=s)&&(t.flags|=4)}},i=function(e,t,n,r){n!==r&&(t.flags|=4)};var l1=!1,l2=!1,l3="function"==typeof WeakSet?WeakSet:Set,l4=null;function l5(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){uh(e,t,n)}else n.current=null}function l6(e,t,n){try{n()}catch(n){uh(e,t,n)}}var l8=!1;function l9(e,t){if(rF=tY,n8(e=n6())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(e){n=null;break e}var i=0,u=-1,s=-1,c=0,d=0,p=e,h=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(u=i+o),p!==l||0!==r&&3!==p.nodeType||(s=i+r),3===p.nodeType&&(i+=p.nodeValue.length),null!==(a=p.firstChild);)h=p,p=a;for(;;){if(p===e)break t;if(h===n&&++c===o&&(u=i),h===l&&++d===r&&(s=i),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(rz={focusedElem:e,selectionRange:n},tY=!1,l4=t;null!==l4;)if(e=(t=l4).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,l4=e;else for(;null!==l4;){t=l4;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:lc(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(f(163))}}catch(e){uh(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,l4=e;break}l4=t.return}return m=l8,l8=!1,m}function l7(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&l6(t,n,o)}a=a.next}while(a!==r)}}function ie(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function it(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ir(e){var t=e.alternate;null!==t&&(e.alternate=null,ir(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[rY],delete t[rX],delete t[rZ],delete t[r0],delete t[r1]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ia(e){return 5===e.tag||3===e.tag||4===e.tag}function io(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ia(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function il(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=rD));else if(4!==r&&null!==(e=e.child))for(il(e,t,n),e=e.sibling;null!==e;)il(e,t,n),e=e.sibling}function ii(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ii(e,t,n),e=e.sibling;null!==e;)ii(e,t,n),e=e.sibling}var iu=null,is=!1;function ic(e,t,n){for(n=n.child;null!==n;)id(e,t,n),n=n.sibling}function id(e,t,n){if(tl&&"function"==typeof tl.onCommitFiberUnmount)try{tl.onCommitFiberUnmount(to,n)}catch(e){}switch(n.tag){case 5:l2||l5(n,t);case 6:var r=iu,a=is;iu=null,ic(e,t,n),iu=r,is=a,null!==iu&&(is?(e=iu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iu.removeChild(n.stateNode));break;case 18:null!==iu&&(is?(e=iu,n=n.stateNode,8===e.nodeType?rG(e.parentNode,n):1===e.nodeType&&rG(e,n),tQ(e)):rG(iu,n.stateNode));break;case 4:r=iu,a=is,iu=n.stateNode.containerInfo,is=!0,ic(e,t,n),iu=r,is=a;break;case 0:case 11:case 14:case 15:if(!l2&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,l=o.destroy;o=o.tag,void 0!==l&&(0!=(2&o)?l6(n,t,l):0!=(4&o)&&l6(n,t,l)),a=a.next}while(a!==r)}ic(e,t,n);break;case 1:if(!l2&&(l5(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){uh(n,t,e)}ic(e,t,n);break;case 21:default:ic(e,t,n);break;case 22:1&n.mode?(l2=(r=l2)||null!==n.memoizedState,ic(e,t,n),l2=r):ic(e,t,n)}}function ip(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new l3),t.forEach(function(t){var r=uv.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ih(e,t){var n=t.deletions;if(null!==n)for(var r=0;ra&&(a=l),r&=~o}if(r=a,10<(r=(120>(r=e9()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iw(r/1960))-r)){e.timeoutHandle=rH(uc.bind(null,e,iF,iH),r);break}uc(e,iF,iH);break;default:throw Error(f(329))}}}return i1(e,e9()),e.callbackNode===n?i2.bind(null,e):null}function i3(e,t){var n=iD;return e.current.memoizedState.isDehydrated&&(ut(e,t).flags|=256),2!==(e=uo(e,t))&&(t=iF,iF=n,null!==t&&i4(t)),e}function i4(e){null===iF?iF=e:iF.push.apply(iF,e)}function i5(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;re?16:e,null===iG)var r=!1;else{if(e=iG,iG=null,iq=0,0!=(6&iN))throw Error(f(331));var a=iN;for(iN|=4,l4=e.current;null!==l4;){var o=l4,l=o.child;if(0!=(16&l4.flags)){var i=o.deletions;if(null!==i){for(var u=0;ue9()-iz?ut(e,0):iA|=n),i1(e,t)}function ug(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tp,0==(0x7c00000&(tp<<=1))&&(tp=4194304)));var n=iJ();null!==(e=a7(e,t))&&(tS(e,t,n),i1(e,n))}function uy(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ug(e,n)}function uv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(t),ug(e,n)}function ub(e,t){return e4(e,t)}function u_(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function uS(e,t,n,r){return new u_(e,t,n,r)}function uw(e){return!(!(e=e.prototype)||!e.isReactComponent)}function uE(e){if("function"==typeof e)return+!!uw(e);if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===j)return 14}return 2}function uk(e,t){var n=e.alternate;return null===n?((n=uS(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ux(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)uw(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case M:return uN(n.children,a,o,t);case O:l=8,a|=8;break;case $:return(e=uS(12,n,t,2|a)).elementType=$,e.lanes=o,e;case F:return(e=uS(13,n,t,a)).elementType=F,e.lanes=o,e;case z:return(e=uS(19,n,t,a)).elementType=z,e.lanes=o,e;case U:return uR(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case L:l=10;break e;case A:l=9;break e;case D:l=11;break e;case j:l=14;break e;case H:l=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=uS(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function uN(e,t,n,r){return(e=uS(7,e,r,t)).lanes=n,e}function uR(e,t,n,r){return(e=uS(22,e,r,t)).elementType=U,e.lanes=n,e.stateNode={isHidden:!1},e}function uI(e,t,n){return(e=uS(6,e,null,t)).lanes=n,e}function uT(e,t,n){return(t=uS(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uC(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=t_(0),this.expirationTimes=t_(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=t_(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function uP(e,t,n,r,a,o,l,i,u){return e=new uC(e,t,n,i,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=uS(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ot(o),e}function uM(e,t,n){var r=3>>1,a=e[r];if(0>>1;ro(u,n))so(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else if(so(c,n))e[r]=c,e[s]=n,r=s;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l,i=performance;t.unstable_now=function(){return i.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var c=[],f=[],d=1,p=null,h=3,m=!1,g=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,_="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=r(f);null!==t;){if(null===t.callback)a(f);else if(t.startTime<=e)a(f),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(f)}}function w(e){if(y=!1,S(e),!g)if(null!==r(c))g=!0,O(E);else{var t=r(f);null!==t&&$(w,t.startTime-e)}}function E(e,n){g=!1,y&&(y=!1,b(N),N=-1),m=!0;var o=h;try{for(S(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!T());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var i=l(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof i?p.callback=i:p===r(c)&&a(c),S(n)}else a(c);p=r(c)}if(null!==p)var u=!0;else{var s=r(f);null!==s&&$(w,s.startTime-n),u=!1}return u}finally{p=null,h=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k=!1,x=null,N=-1,R=5,I=-1;function T(){return!(t.unstable_now()-Ie||125l?(e.sortIndex=o,n(f,e),null===r(c)&&e===r(f)&&(y?(b(N),N=-1):y=!0,$(w,o-l))):(e.sortIndex=i,n(c,e),g||m||(g=!0,O(E))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},3840:function(e,t,n){e.exports=n(53)},8051:function(e,t){let n="RUNTIME-001",r="RUNTIME-002",a="RUNTIME-003",o="RUNTIME-004",l="RUNTIME-005",i="RUNTIME-006",u="RUNTIME-007",s="RUNTIME-008",c="TYPE-001",f="BUILD-001",d=e=>{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},p=(e,t,n,r)=>{let a=[`${[t[e]]} #${e}`];return n&&a.push(`args: ${JSON.stringify(n)}`),a.push(d(e)),r&&a.push(`Original Error Message: - ${r}`),a.join("\n")};function h(){return(h=Object.assign||function(e){for(var t=1;te===t)&&e.push(t),e}function d(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function p(e){return void 0!==e.entry}function h(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}async function m(e,t){try{return await e()}catch(e){t||c(e);return}}function g(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function v(e){return"[object Object]"===y.call(e)}function b(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function _(e){return Array.isArray(e)?e:[e]}function S(e){let t={url:"",type:"global",globalName:""};return a.isBrowserEnv()||a.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let w=(e,t)=>{let n;return n=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),n+=t},E="object"==typeof globalThis?globalThis:window,k=(()=>{try{return document.defaultView}catch(e){return E}})(),x=k;function N(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function R(e,t){return Object.hasOwnProperty.call(e,t)}R(E,"__GLOBAL_LOADING_REMOTE_ENTRY__")||N(E,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let I=E.__GLOBAL_LOADING_REMOTE_ENTRY__;function T(e){var t,n,r,a,o,l,i,u,s,c,f,d;R(e,"__VMOK__")&&!R(e,"__FEDERATION__")&&N(e,"__FEDERATION__",e.__VMOK__),R(e,"__FEDERATION__")||(N(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),N(e,"__VMOK__",e.__FEDERATION__)),null!=(i=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(u=(n=e.__FEDERATION__).__INSTANCES__)||(n.__INSTANCES__=[]),null!=(s=(r=e.__FEDERATION__).moduleInfo)||(r.moduleInfo={}),null!=(c=(a=e.__FEDERATION__).__SHARE__)||(a.__SHARE__={}),null!=(f=(o=e.__FEDERATION__).__MANIFEST_LOADING__)||(o.__MANIFEST_LOADING__={}),null!=(d=(l=e.__FEDERATION__).__PRELOADED_MAP__)||(l.__PRELOADED_MAP__=new Map)}function C(){E.__FEDERATION__.__GLOBAL_PLUGIN__=[],E.__FEDERATION__.__INSTANCES__=[],E.__FEDERATION__.moduleInfo={},E.__FEDERATION__.__SHARE__={},E.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(I).forEach(e=>{delete I[e]})}function P(e){E.__FEDERATION__.__INSTANCES__.push(e)}function M(){return E.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.isDebugMode();t&&(E.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,E.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}function $(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let n of Object.keys(e)){let[r,a]=n.split(":"),o=`${r}:${t}`,l=e[o];if(l)return{value:l,key:o}}return{value:void 0,key:t}}throw Error("key must be string")}T(E),T(k);let L=()=>k.__FEDERATION__.moduleInfo,A=(e,t)=>{let n=$(t,d(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){let{version:t}=e,n=d(r._object_without_properties_loose(e,["version"])),a=$(k.__FEDERATION__.moduleInfo,n).value;if((null==a?void 0:a.version)===t)return a}},D=e=>A(e,k.__FEDERATION__.moduleInfo),F=(e,t)=>{let n=d(e);return k.__FEDERATION__.moduleInfo[n]=t,k.__FEDERATION__.moduleInfo},z=e=>(k.__FEDERATION__.moduleInfo=r._extends({},k.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete k.__FEDERATION__.moduleInfo[t]}),j=(e,t)=>{let n=t||`__FEDERATION_${e}:custom__`,r=E[n];return{remoteEntryKey:n,entryExports:r}},H=e=>{let{__GLOBAL_PLUGIN__:t}=k.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):c(`The plugin ${e.name} has been registered.`)})},U=()=>k.__FEDERATION__.__GLOBAL_PLUGIN__,V=e=>E.__FEDERATION__.__PRELOADED_MAP__.get(e),B=e=>E.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),W="default",G="global",q="[0-9A-Za-z-]+",Q=`(?:\\+(${q}(?:\\.${q})*))`,K="0|[1-9]\\d*",Y="[0-9]+",X="\\d*[a-zA-Z-][a-zA-Z0-9-]*",J=`(?:${Y}|${X})`,Z=`(?:-?(${J}(?:\\.${J})*))`,ee=`(?:${K}|${X})`,et=`(?:-(${ee}(?:\\.${ee})*))`,en=`${K}|x|X|\\*`,er=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${et})?${Q}?)?)?`,ea=`^\\s*(${er})\\s+-\\s+(${er})\\s*$`,eo=`(${Y})\\.(${Y})\\.(${Y})`,el=`[v=\\s]*${eo}${Z}?${Q}?`,ei="((?:<|>)?=?)",eu=`(\\s*)${ei}\\s*(${el}|${er})`,es="(?:~>?)",ec=`(\\s*)${es}\\s+`,ef="(?:\\^)",ed=`(\\s*)${ef}\\s+`,ep="(<|>)?=?\\s*\\*",eh=`^${ef}${er}$`,em=`(${K})\\.(${K})\\.(${K})`,eg=`v?${em}${et}?${Q}?`,ey=`^${es}${er}$`,ev=`^${ei}\\s*${er}$`,eb=`^${ei}\\s*(${eg})$|^$`,e_="^\\s*>=\\s*0.0.0\\s*$";function eS(e){return new RegExp(e)}function ew(e){return!e||"x"===e.toLowerCase()||"*"===e}function eE(){for(var e=arguments.length,t=Array(e),n=0;nt.reduce((e,t)=>t(e),e)}function ek(e){return e.match(eS(eb))}function ex(e,t,n,r){let a=`${e}.${t}.${n}`;return r?`${a}-${r}`:a}function eN(e){return e.replace(eS(ea),(e,t,n,r,a,o,l,i,u,s,c,f)=>(t=ew(n)?"":ew(r)?`>=${n}.0.0`:ew(a)?`>=${n}.${r}.0`:`>=${t}`,i=ew(u)?"":ew(s)?`<${Number(u)+1}.0.0-0`:ew(c)?`<${u}.${Number(s)+1}.0-0`:f?`<=${u}.${s}.${c}-${f}`:`<=${i}`,`${t} ${i}`.trim()))}function eR(e){return e.replace(eS(eu),"$1$2$3")}function eI(e){return e.replace(eS(ec),"$1~")}function eT(e){return e.replace(eS(ed),"$1^")}function eC(e){return e.trim().split(/\s+/).map(e=>e.replace(eS(eh),(e,t,n,r,a)=>{if(ew(t))return"";if(ew(n))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(ew(r))if("0"===t)return`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`;else return`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`;if(a)if("0"!==t)return`>=${t}.${n}.${r}-${a} <${Number(t)+1}.0.0-0`;else if("0"===n)return`>=${t}.${n}.${r}-${a} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r}-${a} <${t}.${Number(n)+1}.0-0`;if("0"===t)if("0"===n)return`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`;return`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`})).join(" ")}function eP(e){return e.trim().split(/\s+/).map(e=>e.replace(eS(ey),(e,t,n,r,a)=>ew(t)?"":ew(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ew(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:a?`>=${t}.${n}.${r}-${a} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(" ")}function eM(e){return e.split(/\s+/).map(e=>e.trim().replace(eS(ev),(e,t,n,r,a,o)=>{let l=ew(n),i=l||ew(r),u=i||ew(a);if("="===t&&u&&(t=""),o="",l)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&u?(i&&(r=0),a=0,">"===t?(t=">=",i?(n=Number(n)+1,r=0):r=Number(r)+1,a=0):"<="===t&&(t="<",i?n=Number(n)+1:r=Number(r)+1),"<"===t&&(o="-0"),`${t+n}.${r}.${a}${o}`):i?`>=${n}.0.0${o} <${Number(n)+1}.0.0-0`:u?`>=${n}.${r}.0${o} <${n}.${Number(r)+1}.0-0`:e})).join(" ")}function eO(e){return e.trim().replace(eS(ep),"")}function e$(e){return e.trim().replace(eS(e_),"")}function eL(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eA(e,t){let{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&r)return 1;if(n&&void 0===r)return -1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){let t=n[e],a=r[e];if(t!==a){if(void 0===t&&void 0===a)return 0;if(!t)return 1;if(!a)return -1;return eL(t,a)}}return 0}function eD(e,t){return eL(e.major,t.major)||eL(e.minor,t.minor)||eL(e.patch,t.patch)||eA(e,t)}function eF(e,t){return e.version===t.version}function ez(e,t){switch(e.operator){case"":case"=":return eF(e,t);case">":return 0>eD(e,t);case">=":return eF(e,t)||0>eD(e,t);case"<":return eD(e,t)>0;case"<=":return eF(e,t)||eD(e,t)>0;case void 0:return!0;default:return!1}}function ej(e){return eE(eC,eP,eM,eO)(e)}function eH(e){return eE(eN,eR,eI,eT)(e.trim()).split(/\s+/).join(" ")}function eU(e,t){if(!e)return!1;let n=eH(t).split(" ").map(e=>ej(e)).join(" ").split(/\s+/).map(e=>e$(e)),r=ek(e);if(!r)return!1;let[,a,,o,l,i,u]=r,s={operator:a,version:ex(o,l,i,u),major:o,minor:l,patch:i,preRelease:null==u?void 0:u.split(".")};for(let e of n){let t=ek(e);if(!t)return!1;let[,n,,r,a,o,l]=t;if(!ez({operator:n,version:ex(r,a,o,l),major:r,minor:a,patch:o,preRelease:null==l?void 0:l.split(".")},s))return!1}return!0}function eV(e,t,n,a){var o,l,i;let u;return u="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${n}'!`)}),r._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:r._extends({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:u,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:null!=(o=e.version)?o:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(l=e.scope)?l:"default"],strategy:(null!=(i=e.strategy)?i:a)||"version-first"})}function eB(e,t){let n=t.shared||{},a=t.name,o=Object.keys(n).reduce((e,r)=>{let o=_(n[r]);return e[r]=e[r]||[],o.forEach(n=>{e[r].push(eV(n,a,r,t.shareStrategy))}),e},{}),l=r._extends({},e.shared);return Object.keys(o).forEach(e=>{l[e]?o[e].forEach(t=>{l[e].find(e=>e.version===t.version)||l[e].push(t)}):l[e]=o[e]}),{shared:l,shareInfos:o}}function eW(e,t){let n=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!eU(n(e),`<=${n(t)}`)}let eG=(e,t)=>{let n=t||function(e,t){return eW(e,t)};return Object.keys(e).reduce((e,t)=>!e||n(e,t)||"0"===e?t:e,0)},eq=e=>!!e.loaded||"function"==typeof e.lib,eQ=e=>!!e.loading;function eK(e,t,n){let r=e[t][n],a=function(e,t){return!eq(r[e])&&eW(e,t)};return eG(e[t][n],a)}function eY(e,t,n){let r=e[t][n],a=function(e,t){let n=e=>eq(e)||eQ(e);if(n(r[t]))if(n(r[e]))return!!eW(e,t);else return!0;return!n(r[e])&&eW(e,t)};return eG(e[t][n],a)}function eX(e){return"loaded-first"===e?eY:eK}function eJ(e,t,n,r){if(!e)return;let{shareConfig:a,scope:o=W,strategy:l}=n;for(let i of Array.isArray(o)?o:[o])if(a&&e[i]&&e[i][t]){let{requiredVersion:o}=a,u=eX(l)(e,i,t),f=()=>{if(a.singleton){if("string"==typeof o&&!eU(u,o)){let r=`Version ${u} from ${u&&e[i][t][u].from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${o})`;a.strictVersion?s(r):c(r)}return e[i][t][u]}if(!1===o||"*"===o||eU(u,o))return e[i][t][u];for(let[n,r]of Object.entries(e[i][t]))if(eU(n,o))return r},d={shareScopeMap:e,scope:i,pkgName:t,version:u,GlobalFederation:x.__FEDERATION__,resolver:f};return(r.emit(d)||d).resolver()}}function eZ(){return x.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:n,extraOptions:r,shareInfos:a}=e,o=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let n=function(e,n){return!eq(t[e])&&eW(e,n)},r=eG(t,n);return t[r]};return Object.assign({},(null!=(t=null==r?void 0:r.resolver)?t:o)(a[n]),null==r?void 0:r.customShareInfo)}var e1={global:{Global:x,nativeGlobal:k,resetFederationGlobalInfo:C,setGlobalFederationInstance:P,getGlobalFederationConstructor:M,setGlobalFederationConstructor:O,getInfoWithoutType:$,getGlobalSnapshot:L,getTargetSnapshotInfoByModuleInfo:A,getGlobalSnapshotInfoByModuleInfo:D,setGlobalSnapshotInfoByModuleInfo:F,addGlobalSnapshot:z,getRemoteEntryExports:j,registerGlobalPlugins:H,getGlobalHostPlugins:U,getPreloaded:V,setPreloaded:B},share:{getRegisteredShare:eJ,getGlobalShareScope:eZ}};function e2(){return"pimcore_studio_example_bundle:0.0.1"}function e3(e,t){for(let n of e){let e=t.startsWith(n.name),r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return{pkgNameOrAlias:n.name,expose:r=`.${r}`,remote:n};else if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}let a=n.alias&&t.startsWith(n.alias),o=n.alias&&t.replace(n.alias,"");if(n.alias&&a){if(o&&o.startsWith("/"))return{pkgNameOrAlias:n.alias,expose:o=`.${o}`,remote:n};else if(""===o)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}function e4(e,t){for(let n of e)if(t===n.name||n.alias&&t===n.alias)return n}function e5(e,t){let n=U();return n.length>0&&n.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}async function e6(e){let{entry:t,remoteEntryExports:n}=e;return new Promise((e,r)=>{try{n?e(n):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,r]):import(t).then(e).catch(r)}catch(e){r(e)}})}async function e8(e){let{entry:t,remoteEntryExports:n}=e;return new Promise((e,r)=>{try{n?e(n):Function("callbacks",`System.import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,r])}catch(e){r(e)}})}async function e9(e){let{name:t,globalName:n,entry:r,loaderHook:l}=e,{entryExports:i}=j(t,n);return i||a.loadScript(r,{attrs:{},createScriptHook:(e,t)=>{let n=l.lifecycle.createScript.emit({url:e,attrs:t});if(n&&(n instanceof HTMLScriptElement||"script"in n||"timeout"in n))return n}}).then(()=>{let{remoteEntryKey:e,entryExports:a}=j(t,n);return u(a,o.getShortErrorMsg(o.RUNTIME_001,o.runtimeDescMap,{remoteName:t,remoteEntryUrl:r,remoteEntryKey:e})),a}).catch(e=>{throw u(void 0,o.getShortErrorMsg(o.RUNTIME_008,o.runtimeDescMap,{remoteName:t,resourceUrl:r})),e})}async function e7(e){let{remoteInfo:t,remoteEntryExports:n,loaderHook:r}=e,{entry:a,entryGlobalName:o,name:l,type:i}=t;switch(i){case"esm":case"module":return e6({entry:a,remoteEntryExports:n});case"system":return e8({entry:a,remoteEntryExports:n});default:return e9({entry:a,globalName:o,name:l,loaderHook:r})}}async function te(e){let{remoteInfo:t,loaderHook:n}=e,{entry:r,entryGlobalName:l,name:i,type:s}=t,{entryExports:c}=j(i,l);return c||a.loadScriptNode(r,{attrs:{name:i,globalName:l,type:s},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.lifecycle.createScript.emit({url:e,attrs:t});if(r&&"url"in r)return r}}}).then(()=>{let{remoteEntryKey:e,entryExports:t}=j(i,l);return u(t,o.getShortErrorMsg(o.RUNTIME_001,o.runtimeDescMap,{remoteName:i,remoteEntryUrl:r,remoteEntryKey:e})),t}).catch(e=>{throw e})}function tt(e){let{entry:t,name:n}=e;return a.composeKeyWithSeparator(n,t)}async function tn(e){let{origin:t,remoteEntryExports:n,remoteInfo:r}=e,o=tt(r);if(n)return n;if(!I[o]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,l=t.loaderHook;I[o]=e.emit({loaderHook:l,remoteInfo:r,remoteEntryExports:n}).then(e=>e||(a.isBrowserEnv()?e7({remoteInfo:r,remoteEntryExports:n,loaderHook:l}):te({remoteInfo:r,loaderHook:l})))}return I[o]}function tr(e){return r._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||G,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||W})}let ta=class{async getEntry(){let e;if(this.remoteEntryExports)return this.remoteEntryExports;try{e=await tn({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(n){let t=tt(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tn,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:I,uniqueKey:t})}return u(e,`remoteEntryExports is undefined - ${a.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,n,a){let l,{loadFactory:i=!0}=n||{loadFactory:!0},c=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,n=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];n.length||n.push("default"),n.forEach(e=>{t[e]||(t[e]={})});let l=t[n[0]],i=[],u={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?n:this.remoteInfo.shareScope||"default"};Object.defineProperty(u,"shareScopeMap",{value:t,enumerable:!1});let f=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:l,remoteEntryInitOptions:u,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==c?void 0:c.init)&&s(o.getShortErrorMsg(o.RUNTIME_002,o.runtimeDescMap,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await c.init(f.shareScope,f.initScope,f.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(r._extends({},f,{id:e,remoteSnapshot:a,remoteEntryExports:c}))}this.lib=c,this.inited=!0,(l=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:c,expose:t,moduleInfo:this.remoteInfo}))||(l=await c.get(t)),u(l,`${d(this.remoteInfo)} remote don't export ${t}.`);let f=w(this.remoteInfo.name,t),p=this.wraperFactory(l,f);return i?await p():p}wraperFactory(e,t){function n(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let r=await e();return n(r,t),r}:()=>{let r=e();return n(r,t),r}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class to{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function n(){for(var r=arguments.length,a=Array(r),o=0;o0&&this.listeners.forEach(t=>{e=t(...n)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class tl extends to{emit(){let e;for(var t=arguments.length,n=Array(t),r=0;r0){let t=0,r=e=>!1!==e&&(t0){let n=0,r=t=>(c(t),this.onerror(t),e),a=o=>{if(ti(e,o)){if(e=o,n{let n=e[t];n&&this.lifecycle[t].on(n)}))}removePlugin(e){u(e,"A name is required.");let t=this.registerPlugins[e];u(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit(e){let{lifecycle:t,registerPlugins:n}=e;Object.keys(t).forEach(e=>{u(!this.lifecycle[e],`The hook "${e}" has a conflict and cannot be inherited.`),this.lifecycle[e]=t[e]}),Object.keys(n).forEach(e=>{u(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(n[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tf(e){return r._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function td(e,t){return t.map(t=>{let n=e4(e,t.nameOrAlias);return u(n,`Unable to preload ${t.nameOrAlias} as it is not included in ${!n&&a.safeToString({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:tf(t)}})}function tp(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function th(e,t,n){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:o,jsAssetsWithoutEntry:l,entryAssets:i}=n;if(t.options.inBrowser){if(i.forEach(n=>{let{moduleInfo:r}=n,a=t.moduleCache.get(e.name);a?tn({origin:t,remoteInfo:r,remoteEntryExports:a.remoteEntryExports}):tn({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){let e={rel:"preload",as:"style"};o.forEach(n=>{let{link:r,needAttach:o}=a.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});o&&document.head.appendChild(r)})}else{let e={rel:"stylesheet",type:"text/css"};o.forEach(n=>{let{link:r,needAttach:o}=a.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});o&&document.head.appendChild(r)})}if(r){let e={rel:"preload",as:"script"};l.forEach(n=>{let{link:r,needAttach:o}=a.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});o&&document.head.appendChild(r)})}else{let n={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};l.forEach(e=>{let{script:r,needAttach:o}=a.createScript({url:e,cb:()=>{},attrs:n,createScriptHook:(e,n)=>{let r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});o&&document.head.appendChild(r)})}}}function tm(e,t){let n=S(t);n.url||s(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=a.getResourceUrl(t,n.url);a.isBrowserEnv()||r.startsWith("http")||(r=`https:${r}`),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function tg(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:n,expose:a,origin:o,remoteInfo:l}=e;if(!p(t)||!h(t)){let{remoteSnapshot:i,globalSnapshot:u}=await o.snapshotHandler.loadRemoteSnapshotInfo(t);tm(l,i);let s={remote:t,preloadConfig:{nameOrAlias:n,exposes:[a],resourceCategory:"sync",share:!1,depsRemote:!1}},c=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:s,remoteInfo:l,remote:t,remoteSnapshot:i,globalSnapshot:u});return c&&th(l,o,c,!1),r._extends({},e,{remoteSnapshot:i})}return e}}}function ty(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function tv(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=arguments.length>5?arguments[5]:void 0,{value:i}=$(e,d(t)),u=l||i;if(u&&!a.isManifestProvider(u)&&(n(u,t,r),u.remotesInfo))for(let t of Object.keys(u.remotesInfo)){if(o[t])continue;o[t]=!0;let r=ty(t),a=u.remotesInfo[t];tv(e,{name:r.name,version:a.matchedVersion},n,!1,o,void 0)}}let tb=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function t_(e,t,n,r,o){let l=[],i=[],u=[],s=new Set,c=new Set,{options:f}=e,{preloadConfig:d}=t,{depsRemote:p}=d;if(tv(r,n,(t,n,r)=>{let o;if(r)o=d;else if(Array.isArray(p)){let e=p.find(e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias);if(!e)return;o=tf(e)}else{if(!0!==p)return;o=d}let s=a.getResourceUrl(t,S(t).url);s&&u.push({name:n.name,moduleInfo:{name:n.name,entry:s,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:s});let c="modules"in t?t.modules:[],f=tp(o.exposes);if(f.length&&"modules"in t){var h;c=null==t||null==(h=t.modules)?void 0:h.reduce((e,t)=>((null==f?void 0:f.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let n=e.map(e=>a.getResourceUrl(t,e));return o.filter?n.filter(o.filter):n}if(c){let r=c.length;for(let a=0;a{let r=eJ(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(n.assets.js.sync.forEach(e=>{s.add(e)}),n.assets.css.sync.forEach(e=>{c.add(e)}))};o.shared.forEach(e=>{var n;let r=null==(n=f.shared)?void 0:n[e.sharedName];if(!r)return;let a=e.version?r.find(t=>t.version===e.version):r;a&&_(a).forEach(n=>{t(n,e)})})}let h=i.filter(e=>!s.has(e)&&!tb("script",e));return{cssAssets:l.filter(e=>!c.has(e)&&!tb("link",e)),jsAssetsWithoutEntry:h,entryAssets:u.filter(e=>!tb("script",e.url))}}let tS=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:n,remoteInfo:r,remote:o,globalSnapshot:l,remoteSnapshot:i}=e;return a.isBrowserEnv()?p(o)&&h(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:r.name,entry:o.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(tm(r,i),t_(t,n,r,l,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tw(e,t){let n=D({name:t.options.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&$(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:L(),remoteSnapshot:D({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:L(),remoteSnapshot:D({name:e.name,version:"version"in e?e.version:void 0})}}class tE{async loadSnapshot(e){let{options:t}=this.HostInstance,{hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:a}=this.getGlobalRemoteInfo(e),{remoteSnapshot:o,globalSnapshot:l}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:a});return{remoteSnapshot:o,globalSnapshot:l}}async loadRemoteSnapshotInfo(e){let t,n,{options:l}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:l,moduleInfo:e});let i=D({name:this.HostInstance.options.name,version:this.HostInstance.options.version});i||(i={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},z({[this.HostInstance.options.name]:i})),i&&"remotesInfo"in i&&!$(i.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(i.remotesInfo=r._extends({},null==i?void 0:i.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));let{hostGlobalSnapshot:u,remoteSnapshot:c,globalSnapshot:f}=this.getGlobalRemoteInfo(e),{remoteSnapshot:d,globalSnapshot:h}=await this.hooks.lifecycle.loadSnapshot.emit({options:l,moduleInfo:e,hostGlobalSnapshot:u,remoteSnapshot:c,globalSnapshot:f});if(d)if(a.isManifestProvider(d)){let o=a.isBrowserEnv()?d.remoteEntry:d.ssrRemoteEntry||d.remoteEntry||"",l=await this.getManifestJson(o,e,{}),i=F(r._extends({},e,{entry:o}),l);t=l,n=i}else{let{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:d,from:"global"});t=r,n=h}else if(p(e)){let r=await this.getManifestJson(e.entry,e,{}),a=F(e,r),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:r,from:"global"});t=o,n=a}else s(o.getShortErrorMsg(o.RUNTIME_007,o.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(h)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:l,moduleInfo:e,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:n}}getGlobalRemoteInfo(e){return tw(e,this.HostInstance)}async getManifestJson(e,t,n){let r=async()=>{let n=this.manifestCache.get(e);if(n)return n;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),n=await t.json()}catch(r){(n=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],s(o.getShortErrorMsg(o.RUNTIME_003,o.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return u(n.metaData&&n.exposes&&n.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,n),n},l=async()=>{let n=await r(),o=a.generateSnapshotFromManifest(n,{version:e}),{remoteSnapshot:l}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:o,manifestUrl:e,from:"manifest"});return l};return this.manifestLoading[e]||(this.manifestLoading[e]=l().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tc({beforeLoadRemoteSnapshot:new tl("beforeLoadRemoteSnapshot"),loadSnapshot:new ts("loadGlobalSnapshot"),loadRemoteSnapshot:new ts("loadRemoteSnapshot"),afterLoadSnapshot:new ts("afterLoadSnapshot")}),this.manifestLoading=x.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tk{registerShared(e,t){let{shareInfos:n,shared:r}=eB(e,t);return Object.keys(n).forEach(e=>{n[e].forEach(n=>{!eJ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)&&n&&n.lib&&this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:!0,shared:n,from:t.name})})}),{shareInfos:n,shared:r}}async loadShare(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));let{shareInfo:a}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:n.options.shared,origin:n});u(a,`Cannot find ${e} Share in the ${n.options.name}. Please ensure that the ${e} Share parameters have been injected`);let o=eJ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare),l=e=>{e.useIn||(e.useIn=[]),f(e.useIn,n.options.name)};if(o&&o.lib)return l(o),o.lib;if(o&&o.loading&&!o.loaded){let e=await o.loading;return o.loaded=!0,o.lib||(o.lib=e),l(o),e}if(o){let t=(async()=>{let t=await o.get();a.lib=t,a.loaded=!0,l(a);let n=eJ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:n.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let r=(async()=>{let t=await a.get();a.lib=t,a.loaded=!0,l(a);let n=eJ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:n.options.name,lib:null,loading:r}),r}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,{host:n}=this,r=null==t?void 0:t.from,a=null==t?void 0:t.strategy,o=null==t?void 0:t.initScope,l=[];if("build"!==r){let{initTokens:t}=this;o||(o=[]);let n=t[e];if(n||(n=t[e]={from:this.host.name}),o.indexOf(n)>=0)return l;o.push(n)}let i=this.shareScopeMap,u=n.options.name;i[e]||(i[e]={});let s=i[e],c=(e,t)=>{var n;let{version:r,eager:a}=t;s[e]=s[e]||{};let o=s[e],l=o[r],i=!!(l&&(l.eager||(null==(n=l.shareConfig)?void 0:n.eager)));(!l||"loaded-first"!==l.strategy&&!l.loaded&&(!a!=!i?a:u>l.from))&&(o[r]=t)},f=t=>t&&t.init&&t.init(i[e],o),d=async e=>{let{module:t}=await n.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let r;try{r=await t.getEntry()}catch(t){r=await n.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:n})}t.inited||(await f(r),t.inited=!0)}};return Object.keys(n.options.shared).forEach(t=>{n.options.shared[t].forEach(n=>{n.scope.includes(e)&&c(t,n)})}),("version-first"===n.options.shareStrategy||"version-first"===a)&&n.options.remotes.forEach(t=>{t.shareScope===e&&l.push(d(t.name))}),l}loadShareSync(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});let a=eJ(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),l=e=>{e.useIn||(e.useIn=[]),f(e.useIn,n.options.name)};if(a){if("function"==typeof a.lib)return l(a),a.loaded||(a.loaded=!0,a.from===n.options.name&&(r.loaded=!0)),a.lib;if("function"==typeof a.get){let t=a.get();if(!(t instanceof Promise))return l(a),this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:t,shared:a}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){let a=r.get();if(a instanceof Promise){let r=(null==t?void 0:t.from)==="build"?o.RUNTIME_005:o.RUNTIME_006;throw Error(o.getShortErrorMsg(r,o.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}return r.lib=a,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:r.lib,shared:r}),r.lib}throw Error(o.getShortErrorMsg(o.RUNTIME_006,o.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:n,from:a,lib:o,loading:l,loaded:i,get:u}=e,{version:s,scope:c="default"}=n,f=r._object_without_properties_loose(n,["version","scope"]);(Array.isArray(c)?c:[c]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][s]){this.shareScopeMap[e][t][s]=r._extends({version:s,scope:["default"]},f,{lib:o,loaded:i,loading:l}),u&&(this.shareScopeMap[e][t][s].get=u);return}let n=this.shareScopeMap[e][t][s];l&&!n.loading&&(n.loading=l)})}_setGlobalShareScopeMap(e){let t=eZ(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}constructor(e){this.hooks=new tc({afterResolve:new ts("afterResolve"),beforeLoadShare:new ts("beforeLoadShare"),loadShare:new tl,resolveShare:new tu("resolveShare"),initContainerShareScopeMap:new tu("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class tx{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:n,expose:r}=t,{name:a,alias:o}=n;if(this.idToRemoteMap[e]={name:n.name,expose:r},o&&e.startsWith(a)){let t=e.replace(a,o);this.idToRemoteMap[t]={name:n.name,expose:r};return}if(o&&e.startsWith(o)){let t=e.replace(o,a);this.idToRemoteMap[t]={name:n.name,expose:r}}}async loadRemote(e,t){let{host:n}=this;try{let{loadFactory:r=!0}=t||{loadFactory:!0},{module:a,moduleOptions:o,remoteMatchInfo:l}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:u,expose:s,id:c,remoteSnapshot:f}=l,d=await a.get(c,s,t,f),p=await this.hooks.lifecycle.onLoad.emit({id:c,pkgNameOrAlias:i,expose:s,exposeModule:r?d:void 0,exposeModuleFactory:r?void 0:d,remote:u,options:o,moduleInstance:a,origin:n});if(this.setIdToRemoteMap(e,l),"function"==typeof p)return p;return d}catch(o){let{from:r="runtime"}=t||{from:"runtime"},a=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:o,from:r,lifecycle:"onLoad",origin:n});if(!a)throw o;return a}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let n=td(t.options.remotes,e);await Promise.all(n.map(async e=>{let{remote:n}=e,r=tr(n),{globalSnapshot:a,remoteSnapshot:o}=await t.snapshotHandler.loadRemoteSnapshotInfo(n),l=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:n,remoteInfo:r,globalSnapshot:a,remoteSnapshot:o});l&&th(r,t,l)}))}registerRemotes(e,t){let{host:n}=this;e.forEach(e=>{this.registerRemote(e,n.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:n}=this,{id:a}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:a,options:n.options,origin:n})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:a,options:n.options,origin:n,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:l}=t,i=e3(n.options.remotes,l);u(i,o.getShortErrorMsg(o.RUNTIME_004,o.runtimeDescMap,{hostName:n.options.name,requestId:l}));let{remote:s}=i,c=tr(s),f=await n.sharedHandler.hooks.lifecycle.afterResolve.emit(r._extends({id:l},i,{options:n.options,origin:n,remoteInfo:c})),{remote:d,expose:p}=f;u(d&&p,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${l}.`);let h=n.moduleCache.get(d.name),m={host:n,remoteInfo:c};return h||(h=new ta(m),n.moduleCache.set(d.name,h)),{module:h,moduleOptions:m,remoteMatchInfo:f}}registerRemote(e,t,n){let{host:r}=this,o=()=>{if(e.alias){let n=t.find(t=>{var n;return e.alias&&(t.name.startsWith(e.alias)||(null==(n=t.alias)?void 0:n.startsWith(e.alias)))});u(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&a.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=W),e.type||(e.type=G)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});let l=t.find(t=>t.name===e.name);if(l){let i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==n?void 0:n.force)&&(this.removeRemote(l),o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),a.warn(i.join(" ")))}else o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{let{host:n}=this,{name:r}=e,o=n.options.remotes.findIndex(e=>e.name===r);-1!==o&&n.options.remotes.splice(o,1);let l=n.moduleCache.get(e.name);if(l){let r=l.remoteInfo,o=r.entryGlobalName;if(E[o]){var t;(null==(t=Object.getOwnPropertyDescriptor(E,o))?void 0:t.configurable)?delete E[o]:E[o]=void 0}let i=tt(l.remoteInfo);I[i]&&delete I[i],n.snapshotHandler.manifestCache.delete(r.entry);let u=r.buildVersion?a.composeKeyWithSeparator(r.name,r.buildVersion):r.name,s=E.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===u:e.name===u);if(-1!==s){let e=E.__FEDERATION__.__INSTANCES__[s];u=e.options.id||u;let t=eZ(),n=!0,a=[];Object.keys(t).forEach(e=>{let o=t[e];o&&Object.keys(o).forEach(t=>{let l=o[t];l&&Object.keys(l).forEach(o=>{let i=l[o];i&&Object.keys(i).forEach(l=>{let u=i[l];u&&"object"==typeof u&&u.from===r.name&&(u.loaded||u.loading?(u.useIn=u.useIn.filter(e=>e!==r.name),u.useIn.length?n=!1:a.push([e,t,o,l])):a.push([e,t,o,l]))})})})}),n&&(e.shareScopeMap={},delete t[u]),a.forEach(e=>{var n,r,a;let[o,l,i,u]=e;null==(a=t[o])||null==(r=a[l])||null==(n=r[i])||delete n[u]}),E.__FEDERATION__.__INSTANCES__.splice(s,1)}let{hostGlobalSnapshot:c}=tw(e,n);if(c){let t=c&&"remotesInfo"in c&&c.remotesInfo&&$(c.remotesInfo,e.name).key;t&&(delete c.remotesInfo[t],x.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete x.__FEDERATION__.__MANIFEST_LOADING__[t])}n.moduleCache.delete(e.name)}}catch(e){i.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tc({beforeRegisterRemote:new tu("beforeRegisterRemote"),registerRemote:new tu("registerRemote"),beforeRequest:new ts("beforeRequest"),onLoad:new tl("onLoad"),handlePreloadModule:new to("handlePreloadModule"),errorLoadRemote:new tl("errorLoadRemote"),beforePreloadRemote:new tl("beforePreloadRemote"),generatePreloadAssets:new tl("generatePreloadAssets"),afterPreloadRemote:new tl,loadEntry:new tl}),this.host=e,this.idToRemoteMap={}}}class tN{initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){let r=new ta({host:this,remoteInfo:tr({name:e,entry:t})});return r.remoteEntryExports=n,this.moduleCache.set(e,r),r}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,n)}formatOptions(e,t){let{shared:n}=eB(e,t),{userOptions:a,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),l=this.remoteHandler.formatAndRegisterRemote(o,a),{shared:i}=this.sharedHandler.registerShared(o,a),u=[...o.plugins];a.plugins&&a.plugins.forEach(e=>{u.includes(e)||u.push(e)});let s=r._extends({},e,t,{plugins:u,remotes:l,shared:i});return this.hooks.lifecycle.init.emit({origin:this,options:s}),s}registerPlugins(e){let t=e5(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new tc({beforeInit:new tu("beforeInit"),init:new to,beforeInitContainer:new ts("beforeInitContainer"),initContainer:new ts("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new tc({getModuleInfo:new to,createScript:new to,createLink:new to,fetch:new tl,loadEntryError:new tl,getModuleFactory:new tl}),this.bridgeHook=new tc({beforeBridgeRender:new to,afterBridgeRender:new to,beforeBridgeDestroy:new to,afterBridgeDestroy:new to});let t={id:e2(),name:e.name,plugins:[tg(),tS()],remotes:[],shared:{},inBrowser:a.isBrowserEnv()};this.name=e.name,this.options=t,this.snapshotHandler=new tE(this),this.sharedHandler=new tk(this),this.remoteHandler=new tx(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}var tR=Object.freeze({__proto__:null});t.loadScript=a.loadScript,t.loadScriptNode=a.loadScriptNode,t.CurrentGlobal=E,t.FederationHost=tN,t.Global=x,t.Module=ta,t.addGlobalSnapshot=z,t.assert=u,t.getGlobalFederationConstructor=M,t.getGlobalSnapshot=L,t.getInfoWithoutType=$,t.getRegisteredShare=eJ,t.getRemoteEntry=tn,t.getRemoteInfo=tr,t.helpers=e1,t.isStaticResourcesEqual=b,t.matchRemoteWithNameAndExpose=e3,t.registerGlobalPlugins=H,t.resetFederationGlobalInfo=C,t.safeWrapper=m,t.satisfy=eU,t.setGlobalFederationConstructor=O,t.setGlobalFederationInstance=P,t.types=tR},4538:function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}t._extends=n,t._object_without_properties_loose=r},3364:function(e,t,n){var r=n(2921),a=n(1858);let o=null;function l(e){let t=a.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),o||(o=t),t):(o=new(r.getGlobalFederationConstructor()||r.FederationHost)(e),r.setGlobalFederationInstance(o),o)}function i(){for(var e=arguments.length,t=Array(e),n=0;n!!n&&r.options.id===a()||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&!!t&&r.options.version===t)}},1322:function(__unused_webpack_module,exports,__webpack_require__){var polyfills=__webpack_require__(5877);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,r=e.split(n),a="development"===getProcessEnv().NODE_ENV&&t,o="*",l=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(r.length>=2){let[t,...i]=r;e.startsWith(n)&&(t=r.slice(0,2).join(n),i=[a||r.slice(2).join(n)]);let u=a||i.join(n);return l(u)?{name:t,entry:u}:{name:t,version:u||o}}if(1===r.length){let[e]=r;return a&&l(a)?{name:e,entry:a}:{name:e,version:a||o}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),n=0;nt?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let r=n?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},decodeName=function(e,t,n){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(RegExp(t,"g"),"")}return r=r.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let n=e;return"."===n&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),encodeName(n,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let n;return n=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${n}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let n=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,n,r;let a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:l={},overrides:i={},version:u}=o,s=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&u?inferAutoPublicPath(u):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(i),f={};Object.keys(l).length||(f=(null==(r=e.remotes)?void 0:r.reduce((e,t)=>{let n,r=t.federationContainerName;return n=c.includes(r)?i[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:n},e},{}))||{}),Object.keys(l).forEach(e=>f[e]={matchedVersion:c.includes(e)?i[e]:l[e]});let{remoteEntry:{path:d,name:p,type:h},types:m,buildInfo:{buildVersion:g},globalName:y,ssrRemoteEntry:v}=e.metaData,{exposes:b}=e,_={version:u||"",buildVersion:g,globalName:y,remoteEntry:simpleJoinRemoteEntry(d,p),remoteEntryType:h,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:f,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==b?void 0:b.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;_=polyfills._({},_,{prefetchInterface:t})}if(null==(n=e.metaData)?void 0:n.prefetchEntry){let{path:t,name:n,type:r}=e.metaData.prefetchEntry;_=polyfills._({},_,{prefetchEntry:simpleJoinRemoteEntry(t,n),prefetchEntryType:r})}return a="publicPath"in e.metaData?polyfills._({},_,{publicPath:s(),ssrPublicPath:e.metaData.ssrPublicPath}):polyfills._({},_,{getPublicPath:s()}),v&&(a.ssrRemoteEntry=simpleJoinRemoteEntry(v.path,v.name),a.ssrRemoteEntryType=v.type||"commonjs-module"),a}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(){for(var e=arguments.length,t=Array(e),n=0;n{n&&("async"===e||"defer"===e?n[e]=r[e]:n.getAttribute(e)||n.setAttribute(e,r[e]))})}let l=async(r,a)=>{clearTimeout(t);let o=()=>{(null==a?void 0:a.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(a)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(n&&(n.onerror=null,n.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==n?void 0:n.parentNode)&&n.parentNode.removeChild(n)}),r&&"function"==typeof r)){let e=r(a);if(e instanceof Promise){let t=await e;return o(),t}return o(),e}o()};return n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),t=setTimeout(()=>{l(null,Error(`Remote script "${e.url}" time-outed.`))},a),{script:n,needAttach:r}}function createLink(e){let t=null,n=!0,r=document.getElementsByTagName("link");for(let a=0;a{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}let a=(n,r)=>{let a=()=>{(null==r?void 0:r.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:n=!0}=e;n&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n)){let e=n(r);return a(),e}a()};return t.onerror=a.bind(null,t.onerror),t.onload=a.bind(null,t.onload),{link:t,needAttach:n}}function loadScript(e,t){let{attrs:n={},createScriptHook:r}=t;return new Promise((t,a)=>{let{script:o,needAttach:l}=createScript({url:e,cb:t,onErrorCallback:a,attrs:polyfills._({fetchpriority:"high"},n),createScriptHook:r,needDeleteScript:!0});l&&document.head.appendChild(o)})}function importNodeModule(e){if(!e)throw Error("import specifier is required");return Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,n)=>{let r=(e,t)=>n.lifecycle.fetch.emit(e,t),a=await r(e,t||{});return a&&a instanceof Response?a:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data} -})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((n,r)=>{createScriptNode(e,(e,a)=>{if(e)r(e);else{var o,l;let e=(null==t||null==(o=t.attrs)?void 0:o.globalName)||`__FEDERATION_${null==t||null==(l=t.attrs)?void 0:l.name}:custom__`;n(globalThis[e]=a)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){let{fetch:n,vm:r}=t,a=await n(e),o=await a.text(),l=new r.SourceTextModule(o,{importModuleDynamically:async(n,r)=>loadModule(new URL(n,e).href,t)});return await l.link(async n=>{let r=new URL(n,e).href;return await loadModule(r,t)}),l}function normalizeOptions(e,t,n){return function(r){if(!1===r)return!1;if(void 0===r)if(e)return t;else return!1;if(!0===r)return t;if(r&&"object"==typeof r)return polyfills._({},t,r);throw Error(`Unexpected type for \`${n}\`, expect boolean/undefined/object, got: ${typeof r}`)}}exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.BROWSER_LOG_VALUE=BROWSER_LOG_VALUE,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},5877:function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t{let t=u.R;t||(t=[]);let r=i[e],l=s[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return n.push(r.p);let c=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=` -while loading "${r[1]}" from ${r[2]}`),u.m[e]=()=>{throw t},r.p=0},f=(e,t,a,o,l,i)=>{try{let u=e(t,a);if(!u||!u.then)return l(u,o,i);{let e=u.then(e=>l(e,o),c);if(!i)return e;n.push(r.p=e)}}catch(e){c(e)}},d=(e,t,n)=>e?f(u.I,r[0],0,e,p,n):c();var p=(e,n,a)=>f(n.get,r[1],t,0,h,a),h=t=>{r.p=1,u.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=o.decodeName(l[0].name,o.ENCODE_NAME_PREFIX)+r[1].slice(1),t=u.federation.instance,n=()=>u.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>n());return n()}catch(e){c(e)}};1===l.length&&a.FEDERATION_SUPPORTED_TYPES.includes(l[0].externalType)&&l[0].name?f(m,r[2],0,0,h,1):f(u,r[2],0,0,d,1)})}function u(e){let{chunkId:t,promises:n,chunkMapping:r,installedModules:a,moduleToHandlerMapping:o,webpackRequire:i}=e;l(i),i.o(r,t)&&r[t].forEach(e=>{if(i.o(a,e))return n.push(a[e]);let t=t=>{a[e]=0,i.m[e]=n=>{delete i.c[e],n.exports=t()}},r=t=>{delete a[e],i.m[e]=n=>{throw delete i.c[e],t}};try{let l=i.federation.instance;if(!l)throw Error("Federation instance not found!");let{shareKey:u,getter:s,shareInfo:c}=o[e],f=l.loadShare(u,{customShareInfo:c}).then(e=>!1===e?s():e);f.then?n.push(a[e]=f.then(t).catch(r)):t(f)}catch(e){r(e)}})}function s(e){let{shareScopeName:t,webpackRequire:n,initPromises:r,initTokens:o,initScope:i}=e,u=Array.isArray(t)?t:[t];var s=[],c=function(e){i||(i=[]);let u=n.federation.instance;var s=o[e];if(s||(s=o[e]={from:u.name}),i.indexOf(s)>=0)return;i.push(s);let c=r[e];if(c)return c;var f=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),d=r=>{var a=e=>f("Initialization of sharing external failed: "+e);try{var o=n(r);if(!o)return;var l=r=>r&&r.init&&r.init(n.S[e],i,{shareScopeMap:n.S||{},shareScopeKeys:t});if(o.then)return p.push(o.then(l,a));var u=l(o);if(u&&"boolean"!=typeof u&&u.then)return p.push(u.catch(a))}catch(e){a(e)}};let p=u.initializeSharing(e,{strategy:u.options.shareStrategy,initScope:i,from:"build"});l(n);let h=n.federation.bundlerRuntimeOptions.remotes;return(h&&Object.keys(h.idToRemoteMap).forEach(e=>{let t=h.idToRemoteMap[e],n=h.idToExternalAndNameMapping[e][2];if(t.length>1)d(n);else if(1===t.length){let e=t[0];a.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||d(n)}}),p.length)?r[e]=Promise.all(p).then(()=>r[e]=!0):r[e]=!0};return u.forEach(e=>{s.push(c(e))}),Promise.all(s).then(()=>!0)}function c(e){let{moduleId:t,moduleToHandlerMapping:n,webpackRequire:r}=e,a=r.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:o,shareInfo:l}=n[t];try{return a.loadShareSync(o,{customShareInfo:l})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function f(e){let{moduleToHandlerMapping:t,webpackRequire:n,installedModules:r,initialConsumes:a}=e;a.forEach(e=>{n.m[e]=a=>{r[e]=0,delete n.c[e];let o=c({moduleId:e,moduleToHandlerMapping:t,webpackRequire:n});if("function"!=typeof o)throw Error(`Shared module is not available for eager consumption: ${e}`);a.exports=o()}})}function d(){return(d=Object.assign||function(e){for(var t=1;t{if(!i||!u)return void l.initShareScopeMap(e,n,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}});u[e]||(u[e]={});let t=u[e];l.initShareScopeMap(e,t,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}})});else{let e=a||"default";Array.isArray(i)?i.forEach(e=>{u[e]||(u[e]={});let t=u[e];l.initShareScopeMap(e,t,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}})}):l.initShareScopeMap(e,n,{hostShareScopeMap:(null==o?void 0:o.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(a))?t.federation.initOptions.shared?t.I(a,r):Promise.all(a.map(e=>t.I(e,r))).then(()=>!0):t.I(a||"default",r)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}(r),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:i,consumes:u,I:s,S:{},installInitialConsumes:f,initContainerEntry:p},attachShareScopeMap:l,bundlerRuntimeOptions:{}}},7266:function(e,t,n){var r,a,o,l,i,u,s,c,f,d,p,h,m=n(950),g=n.n(m);let y=[],v={"@pimcore/studio-ui-bundle":[{alias:"@pimcore/studio-ui-bundle",externalType:"promise",shareScope:"default"}]},b="pimcore_studio_example_bundle",_="version-first";if((n.initializeSharingData||n.initializeExposesData)&&n.federation){let e=(e,t,n)=>{e&&e[t]&&(e[t]=n)},t=(e,t,n)=>{var r,a,o,l,i,u;let s=n();Array.isArray(s)?(null!=(o=(r=e)[a=t])||(r[a]=[]),e[t].push(...s)):"object"==typeof s&&null!==s&&(null!=(u=(l=e)[i=t])||(l[i]={}),Object.assign(e[t],s))},m=(e,t,n)=>{var r,a,o;null!=(o=(r=e)[a=t])||(r[a]=n())},S=null!=(c=null==(r=n.remotesLoadingData)?void 0:r.chunkMapping)?c:{},w=null!=(f=null==(a=n.remotesLoadingData)?void 0:a.moduleIdToRemoteDataMapping)?f:{},E=null!=(d=null==(o=n.initializeSharingData)?void 0:o.scopeToSharingDataMapping)?d:{},k=null!=(p=null==(l=n.consumesLoadingData)?void 0:l.chunkMapping)?p:{},x=null!=(h=null==(i=n.consumesLoadingData)?void 0:i.moduleIdToConsumeDataMapping)?h:{},N={},R=[],I={},T=null==(u=n.initializeExposesData)?void 0:u.shareScope;for(let e in g())n.federation[e]=g()[e];m(n.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,n]of Object.entries(x))e[t]={getter:n.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager},scope:[n.shareScope]},shareKey:n.shareKey};return e}),m(n.federation,"initOptions",()=>({})),m(n.federation.initOptions,"name",()=>b),m(n.federation.initOptions,"shareStrategy",()=>_),m(n.federation.initOptions,"shared",()=>{let e={};for(let[t,n]of Object.entries(E))for(let r of n)if("object"==typeof r&&null!==r){let{name:n,version:a,factory:o,eager:l,singleton:i,requiredVersion:u,strictVersion:s}=r,c={},f=function(e){return void 0!==e};f(i)&&(c.singleton=i),f(u)&&(c.requiredVersion=u),f(l)&&(c.eager=l),f(s)&&(c.strictVersion=s);let d={version:a,scope:[t],shareConfig:c,get:o};e[n]?e[n].push(d):e[n]=[d]}return e}),t(n.federation.initOptions,"remotes",()=>Object.values(v).flat().filter(e=>"script"===e.externalType)),t(n.federation.initOptions,"plugins",()=>y),m(n.federation,"bundlerRuntimeOptions",()=>({})),m(n.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>S),m(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,n]of Object.entries(w))e[t]=[n.shareScope,n.name,n.externalModuleId,n.remoteName];return e}),m(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>n),t(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,n]of Object.entries(w)){let r=v[n.remoteName];r&&(e[t]=r)}return e}),e(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),e(n.f,"remotes",(e,t)=>n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:S,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})),e(n.f,"consumes",(e,t)=>n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:k,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:N,webpackRequire:n})),e(n,"I",(e,t)=>n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:R,initTokens:I,webpackRequire:n})),e(n,"initContainer",(e,t,r)=>n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:T,webpackRequire:n})),e(n,"getContainer",(e,t)=>{var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(s=n.consumesLoadingData)?void 0:s.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:N,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping})}},6115:function(e,t,n){n.d(t,{get:()=>n.getContainer,init:()=>n.initContainer})},6535:function(e){e.exports=new Promise(e=>{let t=window.StudioUIBundleRemoteUrl;if(!t)throw Error('Required remote "pimcore_studio_ui_bundle" is not available');if(window.pimcore_studio_ui_bundle)return void e({get:e=>window.pimcore_studio_ui_bundle.get(e),init:(...e)=>{try{return window.pimcore_studio_ui_bundle.init(...e)}catch(e){console.log("remote container already initialized")}}});let n=document.createElement("script");n.src=t,n.onload=()=>{e({get:e=>window.pimcore_studio_ui_bundle.get(e),init:(...e)=>{try{return window.pimcore_studio_ui_bundle.init(...e)}catch(e){console.log("remote container already initialized")}}})},n.onerror=()=>{throw Error('Failed to load required remote "pimcore_studio_ui_bundle" from '+t)},document.head.appendChild(n)})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!0},rootOutputDir:"../../"})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,n)=>(__webpack_require__.f[n](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>"static/js/async/"+("249"===e?"__federation_expose_default_export":e)+"."+({249:"94801d11",798:"5da9846f"})[e]+".js"})(),(()=>{__webpack_require__.miniCssF=e=>""+e+".css"})(),(()=>{__webpack_require__.h=()=>"5fbb71e999d770bb"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="pimcore_studio_example_bundle:";__webpack_require__.l=function(n,r,a,o){if(e[n])return void e[n].push(r);if(void 0!==a)for(var l,i,u=document.getElementsByTagName("script"),s=0;s{__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.p="/bundles/pimcorestudioexample/build/0cee0751-e939-48ab-8371-8a5241ad02c2/"})(),(()=>{__webpack_require__.rv=()=>"1.3.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"react-dom",version:"18.3.1",factory:()=>()=>__webpack_require__(3935),eager:1,singleton:1,requiredVersion:"*"},{name:"react",version:"18.3.1",factory:()=>()=>__webpack_require__(7294),eager:1,singleton:1,requiredVersion:"*"},6535]},uniqueName:"pimcore_studio_example_bundle"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{981:["5136"],249:["7599"]},moduleIdToConsumeDataMapping:{5136:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!0,fallback:()=>()=>__webpack_require__(7294)},7599:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!0,fallback:()=>()=>__webpack_require__(3935)}},initialConsumes:["5136"]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{__webpack_require__.initializeExposesData={moduleMap:{".":()=>Promise.all([__webpack_require__.e("798"),__webpack_require__.e("249")]).then(()=>()=>__webpack_require__(2117))},shareScope:"default"},__webpack_require__.getContainer=__webpack_require__.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},__webpack_require__.initContainer=__webpack_require__.initContainer||function(){throw Error("should have __webpack_require__.initContainer")}})(),(()=>{var e={981:0};__webpack_require__.f.j=function(t,n){var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((n,a)=>r=e[t]=[n,a]);n.push(r[2]=a);var o=__webpack_require__.p+__webpack_require__.u(t),l=Error(),i=function(n){if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,r[1](l)}};__webpack_require__.l(o,i,"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[o,l,i]=n,u=0;if(o.some(t=>0!==e[t])){for(r in l)__webpack_require__.o(l,r)&&(__webpack_require__.m[r]=l[r]);i&&i(__webpack_require__)}for(t&&t(n);u{__webpack_require__.remotesLoadingData={chunkMapping:{249:["4723","2036","8407","6122","5907","9277","9190","2699","395","8292","3096","6236","5047","4654","3172"]},moduleIdToRemoteDataMapping:{9277:{shareScope:"default",name:"./modules/gdpr-data-extractor",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},9190:{shareScope:"default",name:"./modules/asset",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},3172:{shareScope:"default",name:"./modules/document",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},2036:{shareScope:"default",name:"./utils",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},2699:{shareScope:"default",name:"./modules/widget-editor",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},4654:{shareScope:"default",name:"./api/user",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},8407:{shareScope:"default",name:"./modules/field-definitions",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},5907:{shareScope:"default",name:"./components",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},8292:{shareScope:"default",name:"./modules/widget-manager",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},5047:{shareScope:"default",name:"./api/asset",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},6122:{shareScope:"default",name:"./modules/app",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},3096:{shareScope:"default",name:"./modules/element",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},395:{shareScope:"default",name:"./modules/data-object",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},6236:{shareScope:"default",name:"./app",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"},4723:{shareScope:"default",name:".",externalModuleId:6535,remoteName:"@pimcore/studio-ui-bundle"}}},__webpack_require__.f.remotes=__webpack_require__.f.remotes||function(){throw Error("should have __webpack_require__.f.remotes")}})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.3.9"})(),__webpack_require__(7266);var __webpack_exports__=__webpack_require__(6115);pimcore_studio_example_bundle=__webpack_exports__})(); \ No newline at end of file diff --git a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js.LICENSE.txt b/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js.LICENSE.txt deleted file mode 100644 index 773ca30..0000000 --- a/public/build/0cee0751-e939-48ab-8371-8a5241ad02c2/static/js/remoteEntry.js.LICENSE.txt +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ \ No newline at end of file diff --git a/src/Webpack/WebpackEntryPointProvider.php b/src/Webpack/WebpackEntryPointProvider.php index 7787f42..fbdc4e2 100644 --- a/src/Webpack/WebpackEntryPointProvider.php +++ b/src/Webpack/WebpackEntryPointProvider.php @@ -3,26 +3,43 @@ namespace Pimcore\Bundle\StudioExampleBundle\Webpack; -use Pimcore\Bundle\StudioUiBundle\Webpack\WebpackEntryPointProviderInterface; +use Pimcore\Bundle\StudioUiBundle\Build\BuildArchive; +use Pimcore\Bundle\StudioUiBundle\Build\BuildArchiveExtractionTrait; +use Pimcore\Bundle\StudioUiBundle\Build\BuildArchiveProviderInterface; /** + * The frontend build is shipped as a single archive (build-dist/build-.zip) instead of a + * committed public/build/ directory. BuildArchiveExtractionTrait extracts it into targetDir + * during cache warmup - see the Studio UI Bundle docs, "Shipping the Frontend Build as an + * Archive". + * * @internal */ -final class WebpackEntryPointProvider implements WebpackEntryPointProviderInterface +final class WebpackEntryPointProvider implements BuildArchiveProviderInterface { - public function getEntryPointsJsonLocations(): array - { - return glob(__DIR__ . '/../../public/build/*/entrypoints.json'); - } + use BuildArchiveExtractionTrait; + /** + * @return string[] + */ public function getEntryPoints(): array { return ['exposeRemote']; } + /** + * @return string[] + */ public function getOptionalEntryPoints(): array { return []; } + protected function buildArchive(): BuildArchive + { + return new BuildArchive( + archiveGlob: __DIR__ . '/../../build-dist/build*.zip', + targetDir: __DIR__ . '/../../public/build', + ); + } }