creevey 0.10.0-beta.8 → 0.10.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS +2 -0
- package/CHANGELOG.md +281 -0
- package/README.md +19 -41
- package/dist/client/addon/components/Addon.js +18 -8
- package/dist/client/addon/components/Addon.js.map +1 -1
- package/dist/client/addon/components/Panel.js +4 -4
- package/dist/client/addon/components/Panel.js.map +1 -1
- package/dist/client/addon/components/TestSelect.js +2 -2
- package/dist/client/addon/components/TestSelect.js.map +1 -1
- package/dist/client/addon/components/Tools.js +19 -9
- package/dist/client/addon/components/Tools.js.map +1 -1
- package/dist/client/addon/controller.d.ts +1 -1
- package/dist/client/addon/controller.js +3 -3
- package/dist/client/addon/controller.js.map +1 -1
- package/dist/client/addon/decorator.d.ts +1 -1
- package/dist/client/addon/makeDecorator.d.ts +9 -0
- package/dist/client/addon/makeDecorator.js +48 -0
- package/dist/client/addon/makeDecorator.js.map +1 -0
- package/dist/client/addon/manager.js +38 -39
- package/dist/client/addon/manager.js.map +1 -1
- package/dist/client/addon/preset.d.ts +0 -1
- package/dist/client/addon/preset.js +3 -2
- package/dist/client/addon/preset.js.map +1 -1
- package/dist/client/addon/preview.d.ts +1 -1
- package/dist/client/addon/withCreevey.d.ts +5 -3
- package/dist/client/addon/withCreevey.js +14 -21
- package/dist/client/addon/withCreevey.js.map +1 -1
- package/dist/client/shared/components/ImagesView/BlendView.d.ts +2 -2
- package/dist/client/shared/components/ImagesView/BlendView.js +18 -8
- package/dist/client/shared/components/ImagesView/BlendView.js.map +1 -1
- package/dist/client/shared/components/ImagesView/ImagesView.js +1 -1
- package/dist/client/shared/components/ImagesView/ImagesView.js.map +1 -1
- package/dist/client/shared/components/ImagesView/SideBySideView.d.ts +2 -2
- package/dist/client/shared/components/ImagesView/SideBySideView.js +19 -9
- package/dist/client/shared/components/ImagesView/SideBySideView.js.map +1 -1
- package/dist/client/shared/components/ImagesView/SlideView.d.ts +2 -2
- package/dist/client/shared/components/ImagesView/SlideView.js +19 -9
- package/dist/client/shared/components/ImagesView/SlideView.js.map +1 -1
- package/dist/client/shared/components/ImagesView/SwapView.d.ts +2 -2
- package/dist/client/shared/components/ImagesView/SwapView.js +31 -9
- package/dist/client/shared/components/ImagesView/SwapView.js.map +1 -1
- package/dist/client/shared/components/ImagesView/common.d.ts +1 -1
- package/dist/client/shared/components/PageFooter/PageFooter.js +1 -1
- package/dist/client/shared/components/PageFooter/PageFooter.js.map +1 -1
- package/dist/client/shared/components/PageFooter/Paging.js +1 -1
- package/dist/client/shared/components/PageFooter/Paging.js.map +1 -1
- package/dist/client/shared/components/PageHeader/ImagePreview.d.ts +2 -2
- package/dist/client/shared/components/PageHeader/ImagePreview.js +2 -1
- package/dist/client/shared/components/PageHeader/ImagePreview.js.map +1 -1
- package/dist/client/shared/components/PageHeader/PageHeader.js +34 -13
- package/dist/client/shared/components/PageHeader/PageHeader.js.map +1 -1
- package/dist/client/shared/components/ResultsPage.d.ts +2 -2
- package/dist/client/shared/components/ResultsPage.js +45 -15
- package/dist/client/shared/components/ResultsPage.js.map +1 -1
- package/dist/client/shared/creeveyClientApi.js +18 -1
- package/dist/client/shared/creeveyClientApi.js.map +1 -1
- package/dist/client/shared/helpers.d.ts +1 -3
- package/dist/client/shared/helpers.js +4 -19
- package/dist/client/shared/helpers.js.map +1 -1
- package/dist/client/web/CreeveyApp.d.ts +1 -0
- package/dist/client/web/CreeveyApp.js +44 -15
- package/dist/client/web/CreeveyApp.js.map +1 -1
- package/dist/client/web/CreeveyContext.d.ts +6 -0
- package/dist/client/web/CreeveyContext.js +21 -7
- package/dist/client/web/CreeveyContext.js.map +1 -1
- package/dist/client/web/CreeveyLoader.d.ts +1 -1
- package/dist/client/web/CreeveyLoader.js +3 -3
- package/dist/client/web/CreeveyLoader.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/Checkbox.d.ts +4 -4
- package/dist/client/web/CreeveyView/SideBar/Checkbox.js +36 -6
- package/dist/client/web/CreeveyView/SideBar/Checkbox.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/Search.js +20 -10
- package/dist/client/web/CreeveyView/SideBar/Search.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/SideBar.js +26 -12
- package/dist/client/web/CreeveyView/SideBar/SideBar.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/SideBarFooter.js +67 -13
- package/dist/client/web/CreeveyView/SideBar/SideBarFooter.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/SideBarHeader.js +32 -12
- package/dist/client/web/CreeveyView/SideBar/SideBarHeader.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/SuiteLink.d.ts +6 -6
- package/dist/client/web/CreeveyView/SideBar/SuiteLink.js +20 -13
- package/dist/client/web/CreeveyView/SideBar/SuiteLink.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/TestLink.js +20 -13
- package/dist/client/web/CreeveyView/SideBar/TestLink.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/TestStatusIcon.d.ts +2 -2
- package/dist/client/web/CreeveyView/SideBar/TestStatusIcon.js +2 -2
- package/dist/client/web/CreeveyView/SideBar/TestStatusIcon.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/TestsStatus.d.ts +2 -2
- package/dist/client/web/CreeveyView/SideBar/TestsStatus.js +3 -2
- package/dist/client/web/CreeveyView/SideBar/TestsStatus.js.map +1 -1
- package/dist/client/web/CreeveyView/SideBar/Toggle.js +1 -1
- package/dist/client/web/CreeveyView/SideBar/Toggle.js.map +1 -1
- package/dist/client/web/KeyboardEventsContext.d.ts +1 -8
- package/dist/client/web/KeyboardEventsContext.js +79 -64
- package/dist/client/web/KeyboardEventsContext.js.map +1 -1
- package/dist/client/web/assets/index-CtSq3IhG.js +518 -0
- package/dist/client/web/index.html +1 -1
- package/dist/client/web/index.js +26 -11
- package/dist/client/web/index.js.map +1 -1
- package/dist/client/web/themes.d.ts +2 -0
- package/dist/client/web/themes.js +22 -0
- package/dist/client/web/themes.js.map +1 -0
- package/dist/creevey.d.ts +1 -1
- package/dist/creevey.js +122 -41
- package/dist/creevey.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/playwright/generator.d.ts +25 -0
- package/dist/playwright/generator.js +243 -0
- package/dist/playwright/generator.js.map +1 -0
- package/dist/playwright/helpers.d.ts +2 -0
- package/dist/playwright/helpers.js +29 -0
- package/dist/playwright/helpers.js.map +1 -0
- package/dist/playwright/reporter.d.ts +83 -0
- package/dist/playwright/reporter.js +334 -0
- package/dist/playwright/reporter.js.map +1 -0
- package/dist/playwright/setup.d.ts +3 -0
- package/dist/playwright/setup.js +72 -0
- package/dist/playwright/setup.js.map +1 -0
- package/dist/playwright.d.ts +1 -0
- package/dist/playwright.js +3 -1
- package/dist/playwright.js.map +1 -1
- package/dist/server/compare.d.ts +18 -0
- package/dist/server/compare.js +182 -0
- package/dist/server/compare.js.map +1 -0
- package/dist/server/config.d.ts +3 -3
- package/dist/server/config.js +75 -8
- package/dist/server/config.js.map +1 -1
- package/dist/server/connection.d.ts +3 -0
- package/dist/server/connection.js +28 -0
- package/dist/server/connection.js.map +1 -0
- package/dist/server/docker.d.ts +1 -1
- package/dist/server/docker.js +54 -32
- package/dist/server/docker.js.map +1 -1
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +165 -64
- package/dist/server/index.js.map +1 -1
- package/dist/server/master/api.d.ts +11 -6
- package/dist/server/master/api.js +88 -25
- package/dist/server/master/api.js.map +1 -1
- package/dist/server/master/handlers/capture-handler.d.ts +5 -0
- package/dist/server/master/handlers/capture-handler.js +25 -0
- package/dist/server/master/handlers/capture-handler.js.map +1 -0
- package/dist/server/master/handlers/index.d.ts +4 -0
- package/dist/server/master/handlers/index.js +21 -0
- package/dist/server/master/handlers/index.js.map +1 -0
- package/dist/server/master/handlers/ping-handler.d.ts +2 -0
- package/dist/server/master/handlers/ping-handler.js +8 -0
- package/dist/server/master/handlers/ping-handler.js.map +1 -0
- package/dist/server/master/handlers/static-handler.d.ts +1 -0
- package/dist/server/master/handlers/static-handler.js +20 -0
- package/dist/server/master/handlers/static-handler.js.map +1 -0
- package/dist/server/master/handlers/stories-handler.d.ts +4 -0
- package/dist/server/master/handlers/stories-handler.js +24 -0
- package/dist/server/master/handlers/stories-handler.js.map +1 -0
- package/dist/server/master/master.js +7 -24
- package/dist/server/master/master.js.map +1 -1
- package/dist/server/master/pool.d.ts +1 -0
- package/dist/server/master/pool.js +5 -3
- package/dist/server/master/pool.js.map +1 -1
- package/dist/server/master/queue.d.ts +1 -1
- package/dist/server/master/queue.js +14 -6
- package/dist/server/master/queue.js.map +1 -1
- package/dist/server/master/runner.d.ts +6 -6
- package/dist/server/master/runner.js +98 -130
- package/dist/server/master/runner.js.map +1 -1
- package/dist/server/master/server.d.ts +1 -1
- package/dist/server/master/server.js +193 -88
- package/dist/server/master/server.js.map +1 -1
- package/dist/server/master/start.d.ts +1 -2
- package/dist/server/master/start.js +13 -29
- package/dist/server/master/start.js.map +1 -1
- package/dist/server/master/testsManager.d.ts +81 -0
- package/dist/server/master/testsManager.js +282 -0
- package/dist/server/master/testsManager.js.map +1 -0
- package/dist/server/playwright/docker-file.d.ts +1 -1
- package/dist/server/playwright/docker-file.js +17 -8
- package/dist/server/playwright/docker-file.js.map +1 -1
- package/dist/server/playwright/docker.d.ts +2 -1
- package/dist/server/playwright/docker.js +10 -2
- package/dist/server/playwright/docker.js.map +1 -1
- package/dist/server/playwright/index-source.mjs +16 -0
- package/dist/server/playwright/internal.d.ts +7 -7
- package/dist/server/playwright/internal.js +144 -84
- package/dist/server/playwright/internal.js.map +1 -1
- package/dist/server/playwright/webdriver.d.ts +3 -3
- package/dist/server/playwright/webdriver.js +0 -6
- package/dist/server/playwright/webdriver.js.map +1 -1
- package/dist/server/providers/browser.js +4 -3
- package/dist/server/providers/browser.js.map +1 -1
- package/dist/server/providers/hybrid.js +2 -2
- package/dist/server/providers/hybrid.js.map +1 -1
- package/dist/server/report.d.ts +10 -0
- package/dist/server/report.js +45 -0
- package/dist/server/report.js.map +1 -0
- package/dist/server/reporters/creevey.d.ts +7 -0
- package/dist/server/reporters/creevey.js +63 -0
- package/dist/server/reporters/creevey.js.map +1 -0
- package/dist/server/reporters/index.d.ts +2 -0
- package/dist/server/reporters/index.js +16 -0
- package/dist/server/reporters/index.js.map +1 -0
- package/dist/server/reporters/junit.d.ts +16 -0
- package/dist/server/reporters/junit.js +167 -0
- package/dist/server/reporters/junit.js.map +1 -0
- package/dist/server/reporters/teamcity.d.ts +7 -0
- package/dist/server/reporters/teamcity.js +60 -0
- package/dist/server/reporters/teamcity.js.map +1 -0
- package/dist/server/selenium/internal.d.ts +4 -4
- package/dist/server/selenium/internal.js +56 -40
- package/dist/server/selenium/internal.js.map +1 -1
- package/dist/server/selenium/selenoid.js +12 -6
- package/dist/server/selenium/selenoid.js.map +1 -1
- package/dist/server/selenium/webdriver.d.ts +3 -3
- package/dist/server/selenium/webdriver.js +4 -8
- package/dist/server/selenium/webdriver.js.map +1 -1
- package/dist/server/shutdown.d.ts +1 -0
- package/dist/server/shutdown.js +23 -0
- package/dist/server/shutdown.js.map +1 -0
- package/dist/server/stories.d.ts +0 -1
- package/dist/server/stories.js +0 -12
- package/dist/server/stories.js.map +1 -1
- package/dist/server/telemetry.js +3 -3
- package/dist/server/telemetry.js.map +1 -1
- package/dist/server/testsFiles/parser.js +45 -5
- package/dist/server/testsFiles/parser.js.map +1 -1
- package/dist/server/utils.d.ts +23 -0
- package/dist/server/utils.js +114 -15
- package/dist/server/utils.js.map +1 -1
- package/dist/server/webdriver.d.ts +1 -1
- package/dist/server/worker/context.d.ts +3 -0
- package/dist/server/worker/context.js +15 -0
- package/dist/server/worker/context.js.map +1 -0
- package/dist/server/worker/match-image.d.ts +8 -12
- package/dist/server/worker/match-image.js +11 -178
- package/dist/server/worker/match-image.js.map +1 -1
- package/dist/server/worker/start.d.ts +2 -2
- package/dist/server/worker/start.js +41 -64
- package/dist/server/worker/start.js.map +1 -1
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +9 -7
- package/dist/shared/index.js.map +1 -1
- package/dist/types.d.ts +84 -43
- package/dist/types.js +65 -1
- package/dist/types.js.map +1 -1
- package/docs/cli.md +80 -0
- package/docs/config.md +179 -165
- package/docs/examples/playwright-reporer/playwright.config.ts +37 -0
- package/docs/migration-0.9-to-0.10.md +144 -0
- package/docs/playwright-reporter.md +357 -0
- package/docs/storybook.md +60 -0
- package/docs/tests.md +50 -45
- package/package.json +78 -83
- package/playwright.config.mts +46 -0
- package/src/client/addon/components/Addon.tsx +1 -1
- package/src/client/addon/components/Panel.tsx +4 -4
- package/src/client/addon/components/TestSelect.tsx +2 -2
- package/src/client/addon/components/Tools.tsx +2 -2
- package/src/client/addon/controller.ts +4 -4
- package/src/client/addon/makeDecorator.ts +69 -0
- package/src/client/addon/manager.ts +38 -37
- package/src/client/addon/preset.ts +2 -1
- package/src/client/addon/withCreevey.ts +16 -19
- package/src/client/shared/components/ImagesView/BlendView.tsx +1 -1
- package/src/client/shared/components/ImagesView/ImagesView.tsx +1 -1
- package/src/client/shared/components/ImagesView/SideBySideView.tsx +2 -2
- package/src/client/shared/components/ImagesView/SlideView.tsx +2 -2
- package/src/client/shared/components/ImagesView/SwapView.tsx +20 -2
- package/src/client/shared/components/ImagesView/common.ts +1 -1
- package/src/client/shared/components/PageFooter/PageFooter.tsx +1 -1
- package/src/client/shared/components/PageFooter/Paging.tsx +1 -1
- package/src/client/shared/components/PageHeader/ImagePreview.tsx +2 -1
- package/src/client/shared/components/PageHeader/PageHeader.tsx +23 -7
- package/src/client/shared/components/ResultsPage.tsx +33 -10
- package/src/client/shared/creeveyClientApi.ts +19 -1
- package/src/client/shared/helpers.ts +4 -24
- package/src/client/web/CreeveyApp.tsx +30 -9
- package/src/client/web/CreeveyContext.tsx +11 -0
- package/src/client/web/CreeveyLoader.tsx +2 -2
- package/src/client/web/CreeveyView/SideBar/Checkbox.tsx +3 -3
- package/src/client/web/CreeveyView/SideBar/Search.tsx +4 -4
- package/src/client/web/CreeveyView/SideBar/SideBar.tsx +11 -6
- package/src/client/web/CreeveyView/SideBar/SideBarFooter.tsx +48 -15
- package/src/client/web/CreeveyView/SideBar/SideBarHeader.tsx +20 -5
- package/src/client/web/CreeveyView/SideBar/SuiteLink.tsx +12 -12
- package/src/client/web/CreeveyView/SideBar/TestLink.tsx +10 -10
- package/src/client/web/CreeveyView/SideBar/TestStatusIcon.tsx +2 -2
- package/src/client/web/CreeveyView/SideBar/TestsStatus.tsx +3 -2
- package/src/client/web/CreeveyView/SideBar/Toggle.tsx +1 -1
- package/src/client/web/KeyboardEventsContext.tsx +61 -73
- package/src/client/web/index.tsx +10 -5
- package/src/client/web/themes.ts +24 -0
- package/src/creevey.ts +92 -38
- package/src/playwright/generator.ts +322 -0
- package/src/playwright/helpers.ts +31 -0
- package/src/playwright/reporter.ts +381 -0
- package/src/playwright/setup.ts +84 -0
- package/src/playwright.ts +1 -0
- package/src/server/compare.ts +260 -0
- package/src/server/config.ts +52 -9
- package/src/server/connection.ts +26 -0
- package/src/server/docker.ts +62 -34
- package/src/server/index.ts +166 -79
- package/src/server/master/api.ts +94 -28
- package/src/server/master/handlers/capture-handler.ts +20 -0
- package/src/server/master/handlers/index.ts +4 -0
- package/src/server/master/handlers/ping-handler.ts +6 -0
- package/src/server/master/handlers/static-handler.ts +16 -0
- package/src/server/master/handlers/stories-handler.ts +20 -0
- package/src/server/master/master.ts +10 -27
- package/src/server/master/pool.ts +7 -3
- package/src/server/master/queue.ts +21 -7
- package/src/server/master/runner.ts +123 -134
- package/src/server/master/server.ts +214 -101
- package/src/server/master/start.ts +19 -41
- package/src/server/master/testsManager.ts +316 -0
- package/src/server/playwright/docker-file.ts +20 -8
- package/src/server/playwright/docker.ts +16 -3
- package/src/server/playwright/index-source.mjs +16 -0
- package/src/server/playwright/internal.ts +176 -103
- package/src/server/playwright/webdriver.ts +4 -10
- package/src/server/providers/browser.ts +4 -3
- package/src/server/providers/hybrid.ts +2 -3
- package/src/server/report.ts +51 -0
- package/src/server/reporters/creevey.ts +71 -0
- package/src/server/reporters/index.ts +11 -0
- package/src/server/reporters/junit.ts +207 -0
- package/src/server/reporters/teamcity.ts +74 -0
- package/src/server/selenium/internal.ts +70 -53
- package/src/server/selenium/selenoid.ts +13 -6
- package/src/server/selenium/webdriver.ts +8 -12
- package/src/server/shutdown.ts +19 -0
- package/src/server/stories.ts +1 -12
- package/src/server/telemetry.ts +3 -3
- package/src/server/testsFiles/parser.ts +52 -4
- package/src/server/utils.ts +124 -16
- package/src/server/webdriver.ts +1 -1
- package/src/server/worker/context.ts +14 -0
- package/src/server/worker/match-image.ts +16 -248
- package/src/server/worker/start.ts +49 -79
- package/src/shared/index.ts +10 -8
- package/src/types.ts +91 -58
- package/types/global.d.ts +1 -0
- package/dist/client/web/assets/index-DB8lHlJw.js +0 -591
- package/dist/server/reporter.d.ts +0 -26
- package/dist/server/reporter.js +0 -108
- package/dist/server/reporter.js.map +0 -1
- package/dist/server/update.d.ts +0 -2
- package/dist/server/update.js +0 -53
- package/dist/server/update.js.map +0 -1
- package/src/server/reporter.ts +0 -139
- package/src/server/update.ts +0 -74
@@ -0,0 +1,518 @@
|
|
1
|
+
var fO=Object.defineProperty;var dO=(e,t,o)=>t in e?fO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var nl=(e,t,o)=>dO(e,typeof t!="symbol"?t+"":t,o);function pO(e,t){for(var o=0;o<t.length;o++){const a=t[o];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in e)){const s=Object.getOwnPropertyDescriptor(a,l);s&&Object.defineProperty(e,l,s.get?s:{enumerable:!0,get:()=>a[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const f of s.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&a(f)}).observe(document,{childList:!0,subtree:!0});function o(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(l){if(l.ep)return;l.ep=!0;const s=o(l);fetch(l.href,s)}})();var qy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hO(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var o=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,l.get?l:{enumerable:!0,get:function(){return e[a]}})}),o}var gd={exports:{}},ol={},md={exports:{}},Ne={};/**
|
2
|
+
* @license React
|
3
|
+
* react.production.min.js
|
4
|
+
*
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
6
|
+
*
|
7
|
+
* This source code is licensed under the MIT license found in the
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
9
|
+
*/var Vy;function gO(){if(Vy)return Ne;Vy=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),f=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.iterator;function v(j){return j===null||typeof j!="object"?null:(j=b&&j[b]||j["@@iterator"],typeof j=="function"?j:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,S={};function k(j,Z,fe){this.props=j,this.context=Z,this.refs=S,this.updater=fe||x}k.prototype.isReactComponent={},k.prototype.setState=function(j,Z){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,Z,"setState")},k.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function _(){}_.prototype=k.prototype;function A(j,Z,fe){this.props=j,this.context=Z,this.refs=S,this.updater=fe||x}var R=A.prototype=new _;R.constructor=A,E(R,k.prototype),R.isPureReactComponent=!0;var O=Array.isArray,P=Object.prototype.hasOwnProperty,I={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function N(j,Z,fe){var me,oe={},ce=null,ve=null;if(Z!=null)for(me in Z.ref!==void 0&&(ve=Z.ref),Z.key!==void 0&&(ce=""+Z.key),Z)P.call(Z,me)&&!T.hasOwnProperty(me)&&(oe[me]=Z[me]);var xe=arguments.length-2;if(xe===1)oe.children=fe;else if(1<xe){for(var Ee=Array(xe),ke=0;ke<xe;ke++)Ee[ke]=arguments[ke+2];oe.children=Ee}if(j&&j.defaultProps)for(me in xe=j.defaultProps,xe)oe[me]===void 0&&(oe[me]=xe[me]);return{$$typeof:e,type:j,key:ce,ref:ve,props:oe,_owner:I.current}}function B(j,Z){return{$$typeof:e,type:j.type,key:Z,ref:j.ref,props:j.props,_owner:j._owner}}function M(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function G(j){var Z={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(fe){return Z[fe]})}var ee=/\/+/g;function se(j,Z){return typeof j=="object"&&j!==null&&j.key!=null?G(""+j.key):Z.toString(36)}function be(j,Z,fe,me,oe){var ce=typeof j;(ce==="undefined"||ce==="boolean")&&(j=null);var ve=!1;if(j===null)ve=!0;else switch(ce){case"string":case"number":ve=!0;break;case"object":switch(j.$$typeof){case e:case t:ve=!0}}if(ve)return ve=j,oe=oe(ve),j=me===""?"."+se(ve,0):me,O(oe)?(fe="",j!=null&&(fe=j.replace(ee,"$&/")+"/"),be(oe,Z,fe,"",function(ke){return ke})):oe!=null&&(M(oe)&&(oe=B(oe,fe+(!oe.key||ve&&ve.key===oe.key?"":(""+oe.key).replace(ee,"$&/")+"/")+j)),Z.push(oe)),1;if(ve=0,me=me===""?".":me+":",O(j))for(var xe=0;xe<j.length;xe++){ce=j[xe];var Ee=me+se(ce,xe);ve+=be(ce,Z,fe,Ee,oe)}else if(Ee=v(j),typeof Ee=="function")for(j=Ee.call(j),xe=0;!(ce=j.next()).done;)ce=ce.value,Ee=me+se(ce,xe++),ve+=be(ce,Z,fe,Ee,oe);else if(ce==="object")throw Z=String(j),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.");return ve}function ie(j,Z,fe){if(j==null)return j;var me=[],oe=0;return be(j,me,"","",function(ce){return Z.call(fe,ce,oe++)}),me}function he(j){if(j._status===-1){var Z=j._result;Z=Z(),Z.then(function(fe){(j._status===0||j._status===-1)&&(j._status=1,j._result=fe)},function(fe){(j._status===0||j._status===-1)&&(j._status=2,j._result=fe)}),j._status===-1&&(j._status=0,j._result=Z)}if(j._status===1)return j._result.default;throw j._result}var de={current:null},U={transition:null},J={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:U,ReactCurrentOwner:I};function Q(){throw Error("act(...) is not supported in production builds of React.")}return Ne.Children={map:ie,forEach:function(j,Z,fe){ie(j,function(){Z.apply(this,arguments)},fe)},count:function(j){var Z=0;return ie(j,function(){Z++}),Z},toArray:function(j){return ie(j,function(Z){return Z})||[]},only:function(j){if(!M(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},Ne.Component=k,Ne.Fragment=o,Ne.Profiler=l,Ne.PureComponent=A,Ne.StrictMode=a,Ne.Suspense=d,Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,Ne.act=Q,Ne.cloneElement=function(j,Z,fe){if(j==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+j+".");var me=E({},j.props),oe=j.key,ce=j.ref,ve=j._owner;if(Z!=null){if(Z.ref!==void 0&&(ce=Z.ref,ve=I.current),Z.key!==void 0&&(oe=""+Z.key),j.type&&j.type.defaultProps)var xe=j.type.defaultProps;for(Ee in Z)P.call(Z,Ee)&&!T.hasOwnProperty(Ee)&&(me[Ee]=Z[Ee]===void 0&&xe!==void 0?xe[Ee]:Z[Ee])}var Ee=arguments.length-2;if(Ee===1)me.children=fe;else if(1<Ee){xe=Array(Ee);for(var ke=0;ke<Ee;ke++)xe[ke]=arguments[ke+2];me.children=xe}return{$$typeof:e,type:j.type,key:oe,ref:ce,props:me,_owner:ve}},Ne.createContext=function(j){return j={$$typeof:f,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},j.Provider={$$typeof:s,_context:j},j.Consumer=j},Ne.createElement=N,Ne.createFactory=function(j){var Z=N.bind(null,j);return Z.type=j,Z},Ne.createRef=function(){return{current:null}},Ne.forwardRef=function(j){return{$$typeof:c,render:j}},Ne.isValidElement=M,Ne.lazy=function(j){return{$$typeof:y,_payload:{_status:-1,_result:j},_init:he}},Ne.memo=function(j,Z){return{$$typeof:h,type:j,compare:Z===void 0?null:Z}},Ne.startTransition=function(j){var Z=U.transition;U.transition={};try{j()}finally{U.transition=Z}},Ne.unstable_act=Q,Ne.useCallback=function(j,Z){return de.current.useCallback(j,Z)},Ne.useContext=function(j){return de.current.useContext(j)},Ne.useDebugValue=function(){},Ne.useDeferredValue=function(j){return de.current.useDeferredValue(j)},Ne.useEffect=function(j,Z){return de.current.useEffect(j,Z)},Ne.useId=function(){return de.current.useId()},Ne.useImperativeHandle=function(j,Z,fe){return de.current.useImperativeHandle(j,Z,fe)},Ne.useInsertionEffect=function(j,Z){return de.current.useInsertionEffect(j,Z)},Ne.useLayoutEffect=function(j,Z){return de.current.useLayoutEffect(j,Z)},Ne.useMemo=function(j,Z){return de.current.useMemo(j,Z)},Ne.useReducer=function(j,Z,fe){return de.current.useReducer(j,Z,fe)},Ne.useRef=function(j){return de.current.useRef(j)},Ne.useState=function(j){return de.current.useState(j)},Ne.useSyncExternalStore=function(j,Z,fe){return de.current.useSyncExternalStore(j,Z,fe)},Ne.useTransition=function(){return de.current.useTransition()},Ne.version="18.3.1",Ne}var Gy;function Gh(){return Gy||(Gy=1,md.exports=gO()),md.exports}/**
|
10
|
+
* @license React
|
11
|
+
* react-jsx-runtime.production.min.js
|
12
|
+
*
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
14
|
+
*
|
15
|
+
* This source code is licensed under the MIT license found in the
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
17
|
+
*/var Yy;function mO(){if(Yy)return ol;Yy=1;var e=Gh(),t=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function f(c,d,h){var y,b={},v=null,x=null;h!==void 0&&(v=""+h),d.key!==void 0&&(v=""+d.key),d.ref!==void 0&&(x=d.ref);for(y in d)a.call(d,y)&&!s.hasOwnProperty(y)&&(b[y]=d[y]);if(c&&c.defaultProps)for(y in d=c.defaultProps,d)b[y]===void 0&&(b[y]=d[y]);return{$$typeof:t,type:c,key:v,ref:x,props:b,_owner:l.current}}return ol.Fragment=o,ol.jsx=f,ol.jsxs=f,ol}var Ky;function vO(){return Ky||(Ky=1,gd.exports=mO()),gd.exports}var L=vO(),w=Gh();const K=nw(w),ow=pO({__proto__:null,default:K},[w]);var Js={},vd={exports:{}},Zt={},yd={exports:{}},bd={};/**
|
18
|
+
* @license React
|
19
|
+
* scheduler.production.min.js
|
20
|
+
*
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
22
|
+
*
|
23
|
+
* This source code is licensed under the MIT license found in the
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
25
|
+
*/var Xy;function yO(){return Xy||(Xy=1,function(e){function t(U,J){var Q=U.length;U.push(J);e:for(;0<Q;){var j=Q-1>>>1,Z=U[j];if(0<l(Z,J))U[j]=J,U[Q]=Z,Q=j;else break e}}function o(U){return U.length===0?null:U[0]}function a(U){if(U.length===0)return null;var J=U[0],Q=U.pop();if(Q!==J){U[0]=Q;e:for(var j=0,Z=U.length,fe=Z>>>1;j<fe;){var me=2*(j+1)-1,oe=U[me],ce=me+1,ve=U[ce];if(0>l(oe,Q))ce<Z&&0>l(ve,oe)?(U[j]=ve,U[ce]=Q,j=ce):(U[j]=oe,U[me]=Q,j=me);else if(ce<Z&&0>l(ve,Q))U[j]=ve,U[ce]=Q,j=ce;else break e}}return J}function l(U,J){var Q=U.sortIndex-J.sortIndex;return Q!==0?Q:U.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var f=Date,c=f.now();e.unstable_now=function(){return f.now()-c}}var d=[],h=[],y=1,b=null,v=3,x=!1,E=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R(U){for(var J=o(h);J!==null;){if(J.callback===null)a(h);else if(J.startTime<=U)a(h),J.sortIndex=J.expirationTime,t(d,J);else break;J=o(h)}}function O(U){if(S=!1,R(U),!E)if(o(d)!==null)E=!0,he(P);else{var J=o(h);J!==null&&de(O,J.startTime-U)}}function P(U,J){E=!1,S&&(S=!1,_(N),N=-1),x=!0;var Q=v;try{for(R(J),b=o(d);b!==null&&(!(b.expirationTime>J)||U&&!G());){var j=b.callback;if(typeof j=="function"){b.callback=null,v=b.priorityLevel;var Z=j(b.expirationTime<=J);J=e.unstable_now(),typeof Z=="function"?b.callback=Z:b===o(d)&&a(d),R(J)}else a(d);b=o(d)}if(b!==null)var fe=!0;else{var me=o(h);me!==null&&de(O,me.startTime-J),fe=!1}return fe}finally{b=null,v=Q,x=!1}}var I=!1,T=null,N=-1,B=5,M=-1;function G(){return!(e.unstable_now()-M<B)}function ee(){if(T!==null){var U=e.unstable_now();M=U;var J=!0;try{J=T(!0,U)}finally{J?se():(I=!1,T=null)}}else I=!1}var se;if(typeof A=="function")se=function(){A(ee)};else if(typeof MessageChannel<"u"){var be=new MessageChannel,ie=be.port2;be.port1.onmessage=ee,se=function(){ie.postMessage(null)}}else se=function(){k(ee,0)};function he(U){T=U,I||(I=!0,se())}function de(U,J){N=k(function(){U(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_continueExecution=function(){E||x||(E=!0,he(P))},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return o(d)},e.unstable_next=function(U){switch(v){case 1:case 2:case 3:var J=3;break;default:J=v}var Q=v;v=J;try{return U()}finally{v=Q}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Q=v;v=U;try{return J()}finally{v=Q}},e.unstable_scheduleCallback=function(U,J,Q){var j=e.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?j+Q:j):Q=j,U){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=Q+Z,U={id:y++,callback:J,priorityLevel:U,startTime:Q,expirationTime:Z,sortIndex:-1},Q>j?(U.sortIndex=Q,t(h,U),o(d)===null&&U===o(h)&&(S?(_(N),N=-1):S=!0,de(O,Q-j))):(U.sortIndex=Z,t(d,U),E||x||(E=!0,he(P))),U},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(U){var J=v;return function(){var Q=v;v=J;try{return U.apply(this,arguments)}finally{v=Q}}}}(bd)),bd}var Qy;function bO(){return Qy||(Qy=1,yd.exports=yO()),yd.exports}/**
|
26
|
+
* @license React
|
27
|
+
* react-dom.production.min.js
|
28
|
+
*
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
30
|
+
*
|
31
|
+
* This source code is licensed under the MIT license found in the
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
33
|
+
*/var Zy;function wO(){if(Zy)return Zt;Zy=1;var e=Gh(),t=bO();function o(r){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+r,i=1;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+r+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(r,n){f(r,n),f(r+"Capture",n)}function f(r,n){for(l[r]=n,r=0;r<n.length;r++)a.add(n[r])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,y={},b={};function v(r){return d.call(b,r)?!0:d.call(y,r)?!1:h.test(r)?b[r]=!0:(y[r]=!0,!1)}function x(r,n,i,u){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return u?!1:i!==null?!i.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function E(r,n,i,u){if(n===null||typeof n>"u"||x(r,n,i,u))return!0;if(u)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function S(r,n,i,u,p,m,C){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=i,this.propertyName=r,this.type=n,this.sanitizeURL=m,this.removeEmptyString=C}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){k[r]=new S(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var n=r[0];k[n]=new S(n,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){k[r]=new S(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){k[r]=new S(r,2,!1,r,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(r){k[r]=new S(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){k[r]=new S(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){k[r]=new S(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){k[r]=new S(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){k[r]=new S(r,5,!1,r.toLowerCase(),null,!1,!1)});var _=/[\-:]([a-z])/g;function A(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var n=r.replace(_,A);k[n]=new S(n,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var n=r.replace(_,A);k[n]=new S(n,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var n=r.replace(_,A);k[n]=new S(n,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){k[r]=new S(r,1,!1,r.toLowerCase(),null,!1,!1)}),k.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){k[r]=new S(r,1,!1,r.toLowerCase(),null,!0,!0)});function R(r,n,i,u){var p=k.hasOwnProperty(n)?k[n]:null;(p!==null?p.type!==0:u||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(E(n,i,p,u)&&(i=null),u||p===null?v(n)&&(i===null?r.removeAttribute(n):r.setAttribute(n,""+i)):p.mustUseProperty?r[p.propertyName]=i===null?p.type===3?!1:"":i:(n=p.attributeName,u=p.attributeNamespace,i===null?r.removeAttribute(n):(p=p.type,i=p===3||p===4&&i===!0?"":""+i,u?r.setAttributeNS(u,n,i):r.setAttribute(n,i))))}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,P=Symbol.for("react.element"),I=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),G=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),be=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),U=Symbol.iterator;function J(r){return r===null||typeof r!="object"?null:(r=U&&r[U]||r["@@iterator"],typeof r=="function"?r:null)}var Q=Object.assign,j;function Z(r){if(j===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return`
|
34
|
+
`+j+r}var fe=!1;function me(r,n){if(!r||fe)return"";fe=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(X){var u=X}Reflect.construct(r,[],n)}else{try{n.call()}catch(X){u=X}r.call(n.prototype)}else{try{throw Error()}catch(X){u=X}r()}}catch(X){if(X&&u&&typeof X.stack=="string"){for(var p=X.stack.split(`
|
35
|
+
`),m=u.stack.split(`
|
36
|
+
`),C=p.length-1,F=m.length-1;1<=C&&0<=F&&p[C]!==m[F];)F--;for(;1<=C&&0<=F;C--,F--)if(p[C]!==m[F]){if(C!==1||F!==1)do if(C--,F--,0>F||p[C]!==m[F]){var $=`
|
37
|
+
`+p[C].replace(" at new "," at ");return r.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",r.displayName)),$}while(1<=C&&0<=F);break}}}finally{fe=!1,Error.prepareStackTrace=i}return(r=r?r.displayName||r.name:"")?Z(r):""}function oe(r){switch(r.tag){case 5:return Z(r.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return r=me(r.type,!1),r;case 11:return r=me(r.type.render,!1),r;case 1:return r=me(r.type,!0),r;default:return""}}function ce(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case T:return"Fragment";case I:return"Portal";case B:return"Profiler";case N:return"StrictMode";case se:return"Suspense";case be:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case G:return(r.displayName||"Context")+".Consumer";case M:return(r._context.displayName||"Context")+".Provider";case ee:var n=r.render;return r=r.displayName,r||(r=n.displayName||n.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ie:return n=r.displayName||null,n!==null?n:ce(r.type)||"Memo";case he:n=r._payload,r=r._init;try{return ce(r(n))}catch{}}return null}function ve(r){var n=r.type;switch(r.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=n.render,r=r.displayName||r.name||"",n.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ce(n);case 8:return n===N?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function xe(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Ee(r){var n=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function ke(r){var n=Ee(r)?"checked":"value",i=Object.getOwnPropertyDescriptor(r.constructor.prototype,n),u=""+r[n];if(!r.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var p=i.get,m=i.set;return Object.defineProperty(r,n,{configurable:!0,get:function(){return p.call(this)},set:function(C){u=""+C,m.call(this,C)}}),Object.defineProperty(r,n,{enumerable:i.enumerable}),{getValue:function(){return u},setValue:function(C){u=""+C},stopTracking:function(){r._valueTracker=null,delete r[n]}}}}function Fe(r){r._valueTracker||(r._valueTracker=ke(r))}function Ie(r){if(!r)return!1;var n=r._valueTracker;if(!n)return!0;var i=n.getValue(),u="";return r&&(u=Ee(r)?r.checked?"true":"false":r.value),r=u,r!==i?(n.setValue(r),!0):!1}function ue(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Ue(r,n){var i=n.checked;return Q({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??r._wrapperState.initialChecked})}function Ke(r,n){var i=n.defaultValue==null?"":n.defaultValue,u=n.checked!=null?n.checked:n.defaultChecked;i=xe(n.value!=null?n.value:i),r._wrapperState={initialChecked:u,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Le(r,n){n=n.checked,n!=null&&R(r,"checked",n,!1)}function rt(r,n){Le(r,n);var i=xe(n.value),u=n.type;if(i!=null)u==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+i):r.value!==""+i&&(r.value=""+i);else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}n.hasOwnProperty("value")?Ft(r,n.type,i):n.hasOwnProperty("defaultValue")&&Ft(r,n.type,xe(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(r.defaultChecked=!!n.defaultChecked)}function yt(r,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var u=n.type;if(!(u!=="submit"&&u!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+r._wrapperState.initialValue,i||n===r.value||(r.value=n),r.defaultValue=n}i=r.name,i!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,i!==""&&(r.name=i)}function Ft(r,n,i){(n!=="number"||ue(r.ownerDocument)!==r)&&(i==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+i&&(r.defaultValue=""+i))}var qe=Array.isArray;function Xe(r,n,i,u){if(r=r.options,n){n={};for(var p=0;p<i.length;p++)n["$"+i[p]]=!0;for(i=0;i<r.length;i++)p=n.hasOwnProperty("$"+r[i].value),r[i].selected!==p&&(r[i].selected=p),p&&u&&(r[i].defaultSelected=!0)}else{for(i=""+xe(i),n=null,p=0;p<r.length;p++){if(r[p].value===i){r[p].selected=!0,u&&(r[p].defaultSelected=!0);return}n!==null||r[p].disabled||(n=r[p])}n!==null&&(n.selected=!0)}}function dt(r,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return Q({},n,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Nt(r,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(o(92));if(qe(i)){if(1<i.length)throw Error(o(93));i=i[0]}n=i}n==null&&(n=""),i=n}r._wrapperState={initialValue:xe(i)}}function gt(r,n){var i=xe(n.value),u=xe(n.defaultValue);i!=null&&(i=""+i,i!==r.value&&(r.value=i),n.defaultValue==null&&r.defaultValue!==i&&(r.defaultValue=i)),u!=null&&(r.defaultValue=""+u)}function Nr(r){var n=r.textContent;n===r._wrapperState.initialValue&&n!==""&&n!==null&&(r.value=n)}function Lt(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function lt(r,n){return r==null||r==="http://www.w3.org/1999/xhtml"?Lt(n):r==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var st,Je=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,i,u,p){MSApp.execUnsafeLocalFunction(function(){return r(n,i,u,p)})}:r}(function(r,n){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=n;else{for(st=st||document.createElement("div"),st.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=st.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;n.firstChild;)r.appendChild(n.firstChild)}});function Ve(r,n){if(n){var i=r.firstChild;if(i&&i===r.lastChild&&i.nodeType===3){i.nodeValue=n;return}}r.textContent=n}var St={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},Nn=["Webkit","ms","Moz","O"];Object.keys(St).forEach(function(r){Nn.forEach(function(n){n=n+r.charAt(0).toUpperCase()+r.substring(1),St[n]=St[r]})});function Kr(r,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||St.hasOwnProperty(r)&&St[r]?(""+n).trim():n+"px"}function Bt(r,n){r=r.style;for(var i in n)if(n.hasOwnProperty(i)){var u=i.indexOf("--")===0,p=Kr(i,n[i],u);i==="float"&&(i="cssFloat"),u?r.setProperty(i,p):r[i]=p}}var q=Q({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 Y(r,n){if(n){if(q[r]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,r));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function Te(r,n){if(r.indexOf("-")===-1)return typeof n.is=="string";switch(r){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 Me=null;function je(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Re=null,Qe=null,De=null;function ut(r){if(r=Hi(r)){if(typeof Re!="function")throw Error(o(280));var n=r.stateNode;n&&(n=hs(n),Re(r.stateNode,r.type,n))}}function ur(r){Qe?De?De.push(r):De=[r]:Qe=r}function pn(){if(Qe){var r=Qe,n=De;if(De=Qe=null,ut(r),n)for(r=0;r<n.length;r++)ut(n[r])}}function Sr(r,n){return r(n)}function At(){}var Xr=!1;function wi(r,n,i){if(Xr)return r(n,i);Xr=!0;try{return Sr(r,n,i)}finally{Xr=!1,(Qe!==null||De!==null)&&(At(),pn())}}function Ln(r,n){var i=r.stateNode;if(i===null)return null;var u=hs(i);if(u===null)return null;i=u[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(i&&typeof i!="function")throw Error(o(231,n,typeof i));return i}var hn=!1;if(c)try{var gn={};Object.defineProperty(gn,"passive",{get:function(){hn=!0}}),window.addEventListener("test",gn,gn),window.removeEventListener("test",gn,gn)}catch{hn=!1}function la(r,n,i,u,p,m,C,F,$){var X=Array.prototype.slice.call(arguments,3);try{n.apply(i,X)}catch(ne){this.onError(ne)}}var mn=!1,jn=null,So=!1,sa=null,xi={onError:function(r){mn=!0,jn=r}};function ql(r,n,i,u,p,m,C,F,$){mn=!1,jn=null,la.apply(xi,arguments)}function Si(r,n,i,u,p,m,C,F,$){if(ql.apply(this,arguments),mn){if(mn){var X=jn;mn=!1,jn=null}else throw Error(o(198));So||(So=!0,sa=X)}}function Qr(r){var n=r,i=r;if(r.alternate)for(;n.return;)n=n.return;else{r=n;do n=r,(n.flags&4098)!==0&&(i=n.return),r=n.return;while(r)}return n.tag===3?i:null}function Vl(r){if(r.tag===13){var n=r.memoizedState;if(n===null&&(r=r.alternate,r!==null&&(n=r.memoizedState)),n!==null)return n.dehydrated}return null}function ua(r){if(Qr(r)!==r)throw Error(o(188))}function $n(r){var n=r.alternate;if(!n){if(n=Qr(r),n===null)throw Error(o(188));return n!==r?null:r}for(var i=r,u=n;;){var p=i.return;if(p===null)break;var m=p.alternate;if(m===null){if(u=p.return,u!==null){i=u;continue}break}if(p.child===m.child){for(m=p.child;m;){if(m===i)return ua(p),r;if(m===u)return ua(p),n;m=m.sibling}throw Error(o(188))}if(i.return!==u.return)i=p,u=m;else{for(var C=!1,F=p.child;F;){if(F===i){C=!0,i=p,u=m;break}if(F===u){C=!0,u=p,i=m;break}F=F.sibling}if(!C){for(F=m.child;F;){if(F===i){C=!0,i=m,u=p;break}if(F===u){C=!0,u=m,i=p;break}F=F.sibling}if(!C)throw Error(o(189))}}if(i.alternate!==u)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?r:n}function Eo(r){return r=$n(r),r!==null?Gl(r):null}function Gl(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var n=Gl(r);if(n!==null)return n;r=r.sibling}return null}var Ei=t.unstable_scheduleCallback,bm=t.unstable_cancelCallback,SC=t.unstable_shouldYield,EC=t.unstable_requestPaint,pt=t.unstable_now,kC=t.unstable_getCurrentPriorityLevel,Nc=t.unstable_ImmediatePriority,wm=t.unstable_UserBlockingPriority,Yl=t.unstable_NormalPriority,CC=t.unstable_LowPriority,xm=t.unstable_IdlePriority,Kl=null,Zr=null;function _C(r){if(Zr&&typeof Zr.onCommitFiberRoot=="function")try{Zr.onCommitFiberRoot(Kl,r,void 0,(r.current.flags&128)===128)}catch{}}var Lr=Math.clz32?Math.clz32:AC,OC=Math.log,RC=Math.LN2;function AC(r){return r>>>=0,r===0?32:31-(OC(r)/RC|0)|0}var Xl=64,Ql=4194304;function ki(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Zl(r,n){var i=r.pendingLanes;if(i===0)return 0;var u=0,p=r.suspendedLanes,m=r.pingedLanes,C=i&268435455;if(C!==0){var F=C&~p;F!==0?u=ki(F):(m&=C,m!==0&&(u=ki(m)))}else C=i&~p,C!==0?u=ki(C):m!==0&&(u=ki(m));if(u===0)return 0;if(n!==0&&n!==u&&(n&p)===0&&(p=u&-u,m=n&-n,p>=m||p===16&&(m&4194240)!==0))return n;if((u&4)!==0&&(u|=i&16),n=r.entangledLanes,n!==0)for(r=r.entanglements,n&=u;0<n;)i=31-Lr(n),p=1<<i,u|=r[i],n&=~p;return u}function PC(r,n){switch(r){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function TC(r,n){for(var i=r.suspendedLanes,u=r.pingedLanes,p=r.expirationTimes,m=r.pendingLanes;0<m;){var C=31-Lr(m),F=1<<C,$=p[C];$===-1?((F&i)===0||(F&u)!==0)&&(p[C]=PC(F,n)):$<=n&&(r.expiredLanes|=F),m&=~F}}function Lc(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Sm(){var r=Xl;return Xl<<=1,(Xl&4194240)===0&&(Xl=64),r}function jc(r){for(var n=[],i=0;31>i;i++)n.push(r);return n}function Ci(r,n,i){r.pendingLanes|=n,n!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,n=31-Lr(n),r[n]=i}function IC(r,n){var i=r.pendingLanes&~n;r.pendingLanes=n,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=n,r.mutableReadLanes&=n,r.entangledLanes&=n,n=r.entanglements;var u=r.eventTimes;for(r=r.expirationTimes;0<i;){var p=31-Lr(i),m=1<<p;n[p]=0,u[p]=-1,r[p]=-1,i&=~m}}function $c(r,n){var i=r.entangledLanes|=n;for(r=r.entanglements;i;){var u=31-Lr(i),p=1<<u;p&n|r[u]&n&&(r[u]|=n),i&=~p}}var Ge=0;function Em(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var km,Mc,Cm,_m,Om,Dc=!1,Jl=[],Mn=null,Dn=null,zn=null,_i=new Map,Oi=new Map,Bn=[],FC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rm(r,n){switch(r){case"focusin":case"focusout":Mn=null;break;case"dragenter":case"dragleave":Dn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":_i.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Oi.delete(n.pointerId)}}function Ri(r,n,i,u,p,m){return r===null||r.nativeEvent!==m?(r={blockedOn:n,domEventName:i,eventSystemFlags:u,nativeEvent:m,targetContainers:[p]},n!==null&&(n=Hi(n),n!==null&&Mc(n)),r):(r.eventSystemFlags|=u,n=r.targetContainers,p!==null&&n.indexOf(p)===-1&&n.push(p),r)}function NC(r,n,i,u,p){switch(n){case"focusin":return Mn=Ri(Mn,r,n,i,u,p),!0;case"dragenter":return Dn=Ri(Dn,r,n,i,u,p),!0;case"mouseover":return zn=Ri(zn,r,n,i,u,p),!0;case"pointerover":var m=p.pointerId;return _i.set(m,Ri(_i.get(m)||null,r,n,i,u,p)),!0;case"gotpointercapture":return m=p.pointerId,Oi.set(m,Ri(Oi.get(m)||null,r,n,i,u,p)),!0}return!1}function Am(r){var n=ko(r.target);if(n!==null){var i=Qr(n);if(i!==null){if(n=i.tag,n===13){if(n=Vl(i),n!==null){r.blockedOn=n,Om(r.priority,function(){Cm(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){r.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}r.blockedOn=null}function es(r){if(r.blockedOn!==null)return!1;for(var n=r.targetContainers;0<n.length;){var i=Bc(r.domEventName,r.eventSystemFlags,n[0],r.nativeEvent);if(i===null){i=r.nativeEvent;var u=new i.constructor(i.type,i);Me=u,i.target.dispatchEvent(u),Me=null}else return n=Hi(i),n!==null&&Mc(n),r.blockedOn=i,!1;n.shift()}return!0}function Pm(r,n,i){es(r)&&i.delete(n)}function LC(){Dc=!1,Mn!==null&&es(Mn)&&(Mn=null),Dn!==null&&es(Dn)&&(Dn=null),zn!==null&&es(zn)&&(zn=null),_i.forEach(Pm),Oi.forEach(Pm)}function Ai(r,n){r.blockedOn===n&&(r.blockedOn=null,Dc||(Dc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,LC)))}function Pi(r){function n(p){return Ai(p,r)}if(0<Jl.length){Ai(Jl[0],r);for(var i=1;i<Jl.length;i++){var u=Jl[i];u.blockedOn===r&&(u.blockedOn=null)}}for(Mn!==null&&Ai(Mn,r),Dn!==null&&Ai(Dn,r),zn!==null&&Ai(zn,r),_i.forEach(n),Oi.forEach(n),i=0;i<Bn.length;i++)u=Bn[i],u.blockedOn===r&&(u.blockedOn=null);for(;0<Bn.length&&(i=Bn[0],i.blockedOn===null);)Am(i),i.blockedOn===null&&Bn.shift()}var ca=O.ReactCurrentBatchConfig,ts=!0;function jC(r,n,i,u){var p=Ge,m=ca.transition;ca.transition=null;try{Ge=1,zc(r,n,i,u)}finally{Ge=p,ca.transition=m}}function $C(r,n,i,u){var p=Ge,m=ca.transition;ca.transition=null;try{Ge=4,zc(r,n,i,u)}finally{Ge=p,ca.transition=m}}function zc(r,n,i,u){if(ts){var p=Bc(r,n,i,u);if(p===null)of(r,n,u,rs,i),Rm(r,u);else if(NC(p,r,n,i,u))u.stopPropagation();else if(Rm(r,u),n&4&&-1<FC.indexOf(r)){for(;p!==null;){var m=Hi(p);if(m!==null&&km(m),m=Bc(r,n,i,u),m===null&&of(r,n,u,rs,i),m===p)break;p=m}p!==null&&u.stopPropagation()}else of(r,n,u,null,i)}}var rs=null;function Bc(r,n,i,u){if(rs=null,r=je(u),r=ko(r),r!==null)if(n=Qr(r),n===null)r=null;else if(i=n.tag,i===13){if(r=Vl(n),r!==null)return r;r=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;r=null}else n!==r&&(r=null);return rs=r,null}function Tm(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(kC()){case Nc:return 1;case wm:return 4;case Yl:case CC:return 16;case xm:return 536870912;default:return 16}default:return 16}}var Hn=null,Hc=null,ns=null;function Im(){if(ns)return ns;var r,n=Hc,i=n.length,u,p="value"in Hn?Hn.value:Hn.textContent,m=p.length;for(r=0;r<i&&n[r]===p[r];r++);var C=i-r;for(u=1;u<=C&&n[i-u]===p[m-u];u++);return ns=p.slice(r,1<u?1-u:void 0)}function os(r){var n=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&n===13&&(r=13)):r=n,r===10&&(r=13),32<=r||r===13?r:0}function as(){return!0}function Fm(){return!1}function cr(r){function n(i,u,p,m,C){this._reactName=i,this._targetInst=p,this.type=u,this.nativeEvent=m,this.target=C,this.currentTarget=null;for(var F in r)r.hasOwnProperty(F)&&(i=r[F],this[F]=i?i(m):m[F]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?as:Fm,this.isPropagationStopped=Fm,this}return Q(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=as)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=as)},persist:function(){},isPersistent:as}),n}var fa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Uc=cr(fa),Ti=Q({},fa,{view:0,detail:0}),MC=cr(Ti),Wc,qc,Ii,is=Q({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gc,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Ii&&(Ii&&r.type==="mousemove"?(Wc=r.screenX-Ii.screenX,qc=r.screenY-Ii.screenY):qc=Wc=0,Ii=r),Wc)},movementY:function(r){return"movementY"in r?r.movementY:qc}}),Nm=cr(is),DC=Q({},is,{dataTransfer:0}),zC=cr(DC),BC=Q({},Ti,{relatedTarget:0}),Vc=cr(BC),HC=Q({},fa,{animationName:0,elapsedTime:0,pseudoElement:0}),UC=cr(HC),WC=Q({},fa,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),qC=cr(WC),VC=Q({},fa,{data:0}),Lm=cr(VC),GC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},YC={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},KC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function XC(r){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(r):(r=KC[r])?!!n[r]:!1}function Gc(){return XC}var QC=Q({},Ti,{key:function(r){if(r.key){var n=GC[r.key]||r.key;if(n!=="Unidentified")return n}return r.type==="keypress"?(r=os(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?YC[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gc,charCode:function(r){return r.type==="keypress"?os(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?os(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),ZC=cr(QC),JC=Q({},is,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jm=cr(JC),e_=Q({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gc}),t_=cr(e_),r_=Q({},fa,{propertyName:0,elapsedTime:0,pseudoElement:0}),n_=cr(r_),o_=Q({},is,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),a_=cr(o_),i_=[9,13,27,32],Yc=c&&"CompositionEvent"in window,Fi=null;c&&"documentMode"in document&&(Fi=document.documentMode);var l_=c&&"TextEvent"in window&&!Fi,$m=c&&(!Yc||Fi&&8<Fi&&11>=Fi),Mm=" ",Dm=!1;function zm(r,n){switch(r){case"keyup":return i_.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bm(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var da=!1;function s_(r,n){switch(r){case"compositionend":return Bm(n);case"keypress":return n.which!==32?null:(Dm=!0,Mm);case"textInput":return r=n.data,r===Mm&&Dm?null:r;default:return null}}function u_(r,n){if(da)return r==="compositionend"||!Yc&&zm(r,n)?(r=Im(),ns=Hc=Hn=null,da=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return $m&&n.locale!=="ko"?null:n.data;default:return null}}var c_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hm(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n==="input"?!!c_[r.type]:n==="textarea"}function Um(r,n,i,u){ur(u),n=fs(n,"onChange"),0<n.length&&(i=new Uc("onChange","change",null,i,u),r.push({event:i,listeners:n}))}var Ni=null,Li=null;function f_(r){lv(r,0)}function ls(r){var n=va(r);if(Ie(n))return r}function d_(r,n){if(r==="change")return n}var Wm=!1;if(c){var Kc;if(c){var Xc="oninput"in document;if(!Xc){var qm=document.createElement("div");qm.setAttribute("oninput","return;"),Xc=typeof qm.oninput=="function"}Kc=Xc}else Kc=!1;Wm=Kc&&(!document.documentMode||9<document.documentMode)}function Vm(){Ni&&(Ni.detachEvent("onpropertychange",Gm),Li=Ni=null)}function Gm(r){if(r.propertyName==="value"&&ls(Li)){var n=[];Um(n,Li,r,je(r)),wi(f_,n)}}function p_(r,n,i){r==="focusin"?(Vm(),Ni=n,Li=i,Ni.attachEvent("onpropertychange",Gm)):r==="focusout"&&Vm()}function h_(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return ls(Li)}function g_(r,n){if(r==="click")return ls(n)}function m_(r,n){if(r==="input"||r==="change")return ls(n)}function v_(r,n){return r===n&&(r!==0||1/r===1/n)||r!==r&&n!==n}var jr=typeof Object.is=="function"?Object.is:v_;function ji(r,n){if(jr(r,n))return!0;if(typeof r!="object"||r===null||typeof n!="object"||n===null)return!1;var i=Object.keys(r),u=Object.keys(n);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var p=i[u];if(!d.call(n,p)||!jr(r[p],n[p]))return!1}return!0}function Ym(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Km(r,n){var i=Ym(r);r=0;for(var u;i;){if(i.nodeType===3){if(u=r+i.textContent.length,r<=n&&u>=n)return{node:i,offset:n-r};r=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ym(i)}}function Xm(r,n){return r&&n?r===n?!0:r&&r.nodeType===3?!1:n&&n.nodeType===3?Xm(r,n.parentNode):"contains"in r?r.contains(n):r.compareDocumentPosition?!!(r.compareDocumentPosition(n)&16):!1:!1}function Qm(){for(var r=window,n=ue();n instanceof r.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)r=n.contentWindow;else break;n=ue(r.document)}return n}function Qc(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n&&(n==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||n==="textarea"||r.contentEditable==="true")}function y_(r){var n=Qm(),i=r.focusedElem,u=r.selectionRange;if(n!==i&&i&&i.ownerDocument&&Xm(i.ownerDocument.documentElement,i)){if(u!==null&&Qc(i)){if(n=u.start,r=u.end,r===void 0&&(r=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(r,i.value.length);else if(r=(n=i.ownerDocument||document)&&n.defaultView||window,r.getSelection){r=r.getSelection();var p=i.textContent.length,m=Math.min(u.start,p);u=u.end===void 0?m:Math.min(u.end,p),!r.extend&&m>u&&(p=u,u=m,m=p),p=Km(i,m);var C=Km(i,u);p&&C&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==C.node||r.focusOffset!==C.offset)&&(n=n.createRange(),n.setStart(p.node,p.offset),r.removeAllRanges(),m>u?(r.addRange(n),r.extend(C.node,C.offset)):(n.setEnd(C.node,C.offset),r.addRange(n)))}}for(n=[],r=i;r=r.parentNode;)r.nodeType===1&&n.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<n.length;i++)r=n[i],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var b_=c&&"documentMode"in document&&11>=document.documentMode,pa=null,Zc=null,$i=null,Jc=!1;function Zm(r,n,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Jc||pa==null||pa!==ue(u)||(u=pa,"selectionStart"in u&&Qc(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),$i&&ji($i,u)||($i=u,u=fs(Zc,"onSelect"),0<u.length&&(n=new Uc("onSelect","select",null,n,i),r.push({event:n,listeners:u}),n.target=pa)))}function ss(r,n){var i={};return i[r.toLowerCase()]=n.toLowerCase(),i["Webkit"+r]="webkit"+n,i["Moz"+r]="moz"+n,i}var ha={animationend:ss("Animation","AnimationEnd"),animationiteration:ss("Animation","AnimationIteration"),animationstart:ss("Animation","AnimationStart"),transitionend:ss("Transition","TransitionEnd")},ef={},Jm={};c&&(Jm=document.createElement("div").style,"AnimationEvent"in window||(delete ha.animationend.animation,delete ha.animationiteration.animation,delete ha.animationstart.animation),"TransitionEvent"in window||delete ha.transitionend.transition);function us(r){if(ef[r])return ef[r];if(!ha[r])return r;var n=ha[r],i;for(i in n)if(n.hasOwnProperty(i)&&i in Jm)return ef[r]=n[i];return r}var ev=us("animationend"),tv=us("animationiteration"),rv=us("animationstart"),nv=us("transitionend"),ov=new Map,av="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 Un(r,n){ov.set(r,n),s(n,[r])}for(var tf=0;tf<av.length;tf++){var rf=av[tf],w_=rf.toLowerCase(),x_=rf[0].toUpperCase()+rf.slice(1);Un(w_,"on"+x_)}Un(ev,"onAnimationEnd"),Un(tv,"onAnimationIteration"),Un(rv,"onAnimationStart"),Un("dblclick","onDoubleClick"),Un("focusin","onFocus"),Un("focusout","onBlur"),Un(nv,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),S_=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mi));function iv(r,n,i){var u=r.type||"unknown-event";r.currentTarget=i,Si(u,n,void 0,r),r.currentTarget=null}function lv(r,n){n=(n&4)!==0;for(var i=0;i<r.length;i++){var u=r[i],p=u.event;u=u.listeners;e:{var m=void 0;if(n)for(var C=u.length-1;0<=C;C--){var F=u[C],$=F.instance,X=F.currentTarget;if(F=F.listener,$!==m&&p.isPropagationStopped())break e;iv(p,F,X),m=$}else for(C=0;C<u.length;C++){if(F=u[C],$=F.instance,X=F.currentTarget,F=F.listener,$!==m&&p.isPropagationStopped())break e;iv(p,F,X),m=$}}}if(So)throw r=sa,So=!1,sa=null,r}function et(r,n){var i=n[ff];i===void 0&&(i=n[ff]=new Set);var u=r+"__bubble";i.has(u)||(sv(n,r,2,!1),i.add(u))}function nf(r,n,i){var u=0;n&&(u|=4),sv(i,r,u,n)}var cs="_reactListening"+Math.random().toString(36).slice(2);function Di(r){if(!r[cs]){r[cs]=!0,a.forEach(function(i){i!=="selectionchange"&&(S_.has(i)||nf(i,!1,r),nf(i,!0,r))});var n=r.nodeType===9?r:r.ownerDocument;n===null||n[cs]||(n[cs]=!0,nf("selectionchange",!1,n))}}function sv(r,n,i,u){switch(Tm(n)){case 1:var p=jC;break;case 4:p=$C;break;default:p=zc}i=p.bind(null,n,i,r),p=void 0,!hn||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(p=!0),u?p!==void 0?r.addEventListener(n,i,{capture:!0,passive:p}):r.addEventListener(n,i,!0):p!==void 0?r.addEventListener(n,i,{passive:p}):r.addEventListener(n,i,!1)}function of(r,n,i,u,p){var m=u;if((n&1)===0&&(n&2)===0&&u!==null)e:for(;;){if(u===null)return;var C=u.tag;if(C===3||C===4){var F=u.stateNode.containerInfo;if(F===p||F.nodeType===8&&F.parentNode===p)break;if(C===4)for(C=u.return;C!==null;){var $=C.tag;if(($===3||$===4)&&($=C.stateNode.containerInfo,$===p||$.nodeType===8&&$.parentNode===p))return;C=C.return}for(;F!==null;){if(C=ko(F),C===null)return;if($=C.tag,$===5||$===6){u=m=C;continue e}F=F.parentNode}}u=u.return}wi(function(){var X=m,ne=je(i),ae=[];e:{var re=ov.get(r);if(re!==void 0){var pe=Uc,ye=r;switch(r){case"keypress":if(os(i)===0)break e;case"keydown":case"keyup":pe=ZC;break;case"focusin":ye="focus",pe=Vc;break;case"focusout":ye="blur",pe=Vc;break;case"beforeblur":case"afterblur":pe=Vc;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":pe=Nm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pe=zC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pe=t_;break;case ev:case tv:case rv:pe=UC;break;case nv:pe=n_;break;case"scroll":pe=MC;break;case"wheel":pe=a_;break;case"copy":case"cut":case"paste":pe=qC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pe=jm}var we=(n&4)!==0,ht=!we&&r==="scroll",W=we?re!==null?re+"Capture":null:re;we=[];for(var z=X,V;z!==null;){V=z;var le=V.stateNode;if(V.tag===5&&le!==null&&(V=le,W!==null&&(le=Ln(z,W),le!=null&&we.push(zi(z,le,V)))),ht)break;z=z.return}0<we.length&&(re=new pe(re,ye,null,i,ne),ae.push({event:re,listeners:we}))}}if((n&7)===0){e:{if(re=r==="mouseover"||r==="pointerover",pe=r==="mouseout"||r==="pointerout",re&&i!==Me&&(ye=i.relatedTarget||i.fromElement)&&(ko(ye)||ye[vn]))break e;if((pe||re)&&(re=ne.window===ne?ne:(re=ne.ownerDocument)?re.defaultView||re.parentWindow:window,pe?(ye=i.relatedTarget||i.toElement,pe=X,ye=ye?ko(ye):null,ye!==null&&(ht=Qr(ye),ye!==ht||ye.tag!==5&&ye.tag!==6)&&(ye=null)):(pe=null,ye=X),pe!==ye)){if(we=Nm,le="onMouseLeave",W="onMouseEnter",z="mouse",(r==="pointerout"||r==="pointerover")&&(we=jm,le="onPointerLeave",W="onPointerEnter",z="pointer"),ht=pe==null?re:va(pe),V=ye==null?re:va(ye),re=new we(le,z+"leave",pe,i,ne),re.target=ht,re.relatedTarget=V,le=null,ko(ne)===X&&(we=new we(W,z+"enter",ye,i,ne),we.target=V,we.relatedTarget=ht,le=we),ht=le,pe&&ye)t:{for(we=pe,W=ye,z=0,V=we;V;V=ga(V))z++;for(V=0,le=W;le;le=ga(le))V++;for(;0<z-V;)we=ga(we),z--;for(;0<V-z;)W=ga(W),V--;for(;z--;){if(we===W||W!==null&&we===W.alternate)break t;we=ga(we),W=ga(W)}we=null}else we=null;pe!==null&&uv(ae,re,pe,we,!1),ye!==null&&ht!==null&&uv(ae,ht,ye,we,!0)}}e:{if(re=X?va(X):window,pe=re.nodeName&&re.nodeName.toLowerCase(),pe==="select"||pe==="input"&&re.type==="file")var Se=d_;else if(Hm(re))if(Wm)Se=m_;else{Se=h_;var _e=p_}else(pe=re.nodeName)&&pe.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(Se=g_);if(Se&&(Se=Se(r,X))){Um(ae,Se,i,ne);break e}_e&&_e(r,re,X),r==="focusout"&&(_e=re._wrapperState)&&_e.controlled&&re.type==="number"&&Ft(re,"number",re.value)}switch(_e=X?va(X):window,r){case"focusin":(Hm(_e)||_e.contentEditable==="true")&&(pa=_e,Zc=X,$i=null);break;case"focusout":$i=Zc=pa=null;break;case"mousedown":Jc=!0;break;case"contextmenu":case"mouseup":case"dragend":Jc=!1,Zm(ae,i,ne);break;case"selectionchange":if(b_)break;case"keydown":case"keyup":Zm(ae,i,ne)}var Oe;if(Yc)e:{switch(r){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else da?zm(r,i)&&(Pe="onCompositionEnd"):r==="keydown"&&i.keyCode===229&&(Pe="onCompositionStart");Pe&&($m&&i.locale!=="ko"&&(da||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&da&&(Oe=Im()):(Hn=ne,Hc="value"in Hn?Hn.value:Hn.textContent,da=!0)),_e=fs(X,Pe),0<_e.length&&(Pe=new Lm(Pe,r,null,i,ne),ae.push({event:Pe,listeners:_e}),Oe?Pe.data=Oe:(Oe=Bm(i),Oe!==null&&(Pe.data=Oe)))),(Oe=l_?s_(r,i):u_(r,i))&&(X=fs(X,"onBeforeInput"),0<X.length&&(ne=new Lm("onBeforeInput","beforeinput",null,i,ne),ae.push({event:ne,listeners:X}),ne.data=Oe))}lv(ae,n)})}function zi(r,n,i){return{instance:r,listener:n,currentTarget:i}}function fs(r,n){for(var i=n+"Capture",u=[];r!==null;){var p=r,m=p.stateNode;p.tag===5&&m!==null&&(p=m,m=Ln(r,i),m!=null&&u.unshift(zi(r,m,p)),m=Ln(r,n),m!=null&&u.push(zi(r,m,p))),r=r.return}return u}function ga(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function uv(r,n,i,u,p){for(var m=n._reactName,C=[];i!==null&&i!==u;){var F=i,$=F.alternate,X=F.stateNode;if($!==null&&$===u)break;F.tag===5&&X!==null&&(F=X,p?($=Ln(i,m),$!=null&&C.unshift(zi(i,$,F))):p||($=Ln(i,m),$!=null&&C.push(zi(i,$,F)))),i=i.return}C.length!==0&&r.push({event:n,listeners:C})}var E_=/\r\n?/g,k_=/\u0000|\uFFFD/g;function cv(r){return(typeof r=="string"?r:""+r).replace(E_,`
|
38
|
+
`).replace(k_,"")}function ds(r,n,i){if(n=cv(n),cv(r)!==n&&i)throw Error(o(425))}function ps(){}var af=null,lf=null;function sf(r,n){return r==="textarea"||r==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var uf=typeof setTimeout=="function"?setTimeout:void 0,C_=typeof clearTimeout=="function"?clearTimeout:void 0,fv=typeof Promise=="function"?Promise:void 0,__=typeof queueMicrotask=="function"?queueMicrotask:typeof fv<"u"?function(r){return fv.resolve(null).then(r).catch(O_)}:uf;function O_(r){setTimeout(function(){throw r})}function cf(r,n){var i=n,u=0;do{var p=i.nextSibling;if(r.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"){if(u===0){r.removeChild(p),Pi(n);return}u--}else i!=="$"&&i!=="$?"&&i!=="$!"||u++;i=p}while(i);Pi(n)}function Wn(r){for(;r!=null;r=r.nextSibling){var n=r.nodeType;if(n===1||n===3)break;if(n===8){if(n=r.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return r}function dv(r){r=r.previousSibling;for(var n=0;r;){if(r.nodeType===8){var i=r.data;if(i==="$"||i==="$!"||i==="$?"){if(n===0)return r;n--}else i==="/$"&&n++}r=r.previousSibling}return null}var ma=Math.random().toString(36).slice(2),Jr="__reactFiber$"+ma,Bi="__reactProps$"+ma,vn="__reactContainer$"+ma,ff="__reactEvents$"+ma,R_="__reactListeners$"+ma,A_="__reactHandles$"+ma;function ko(r){var n=r[Jr];if(n)return n;for(var i=r.parentNode;i;){if(n=i[vn]||i[Jr]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(r=dv(r);r!==null;){if(i=r[Jr])return i;r=dv(r)}return n}r=i,i=r.parentNode}return null}function Hi(r){return r=r[Jr]||r[vn],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function va(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(o(33))}function hs(r){return r[Bi]||null}var df=[],ya=-1;function qn(r){return{current:r}}function tt(r){0>ya||(r.current=df[ya],df[ya]=null,ya--)}function Ze(r,n){ya++,df[ya]=r.current,r.current=n}var Vn={},jt=qn(Vn),Gt=qn(!1),Co=Vn;function ba(r,n){var i=r.type.contextTypes;if(!i)return Vn;var u=r.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===n)return u.__reactInternalMemoizedMaskedChildContext;var p={},m;for(m in i)p[m]=n[m];return u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=n,r.__reactInternalMemoizedMaskedChildContext=p),p}function Yt(r){return r=r.childContextTypes,r!=null}function gs(){tt(Gt),tt(jt)}function pv(r,n,i){if(jt.current!==Vn)throw Error(o(168));Ze(jt,n),Ze(Gt,i)}function hv(r,n,i){var u=r.stateNode;if(n=n.childContextTypes,typeof u.getChildContext!="function")return i;u=u.getChildContext();for(var p in u)if(!(p in n))throw Error(o(108,ve(r)||"Unknown",p));return Q({},i,u)}function ms(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Vn,Co=jt.current,Ze(jt,r),Ze(Gt,Gt.current),!0}function gv(r,n,i){var u=r.stateNode;if(!u)throw Error(o(169));i?(r=hv(r,n,Co),u.__reactInternalMemoizedMergedChildContext=r,tt(Gt),tt(jt),Ze(jt,r)):tt(Gt),Ze(Gt,i)}var yn=null,vs=!1,pf=!1;function mv(r){yn===null?yn=[r]:yn.push(r)}function P_(r){vs=!0,mv(r)}function Gn(){if(!pf&&yn!==null){pf=!0;var r=0,n=Ge;try{var i=yn;for(Ge=1;r<i.length;r++){var u=i[r];do u=u(!0);while(u!==null)}yn=null,vs=!1}catch(p){throw yn!==null&&(yn=yn.slice(r+1)),Ei(Nc,Gn),p}finally{Ge=n,pf=!1}}return null}var wa=[],xa=0,ys=null,bs=0,Er=[],kr=0,_o=null,bn=1,wn="";function Oo(r,n){wa[xa++]=bs,wa[xa++]=ys,ys=r,bs=n}function vv(r,n,i){Er[kr++]=bn,Er[kr++]=wn,Er[kr++]=_o,_o=r;var u=bn;r=wn;var p=32-Lr(u)-1;u&=~(1<<p),i+=1;var m=32-Lr(n)+p;if(30<m){var C=p-p%5;m=(u&(1<<C)-1).toString(32),u>>=C,p-=C,bn=1<<32-Lr(n)+p|i<<p|u,wn=m+r}else bn=1<<m|i<<p|u,wn=r}function hf(r){r.return!==null&&(Oo(r,1),vv(r,1,0))}function gf(r){for(;r===ys;)ys=wa[--xa],wa[xa]=null,bs=wa[--xa],wa[xa]=null;for(;r===_o;)_o=Er[--kr],Er[kr]=null,wn=Er[--kr],Er[kr]=null,bn=Er[--kr],Er[kr]=null}var fr=null,dr=null,nt=!1,$r=null;function yv(r,n){var i=Rr(5,null,null,0);i.elementType="DELETED",i.stateNode=n,i.return=r,n=r.deletions,n===null?(r.deletions=[i],r.flags|=16):n.push(i)}function bv(r,n){switch(r.tag){case 5:var i=r.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(r.stateNode=n,fr=r,dr=Wn(n.firstChild),!0):!1;case 6:return n=r.pendingProps===""||n.nodeType!==3?null:n,n!==null?(r.stateNode=n,fr=r,dr=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=_o!==null?{id:bn,overflow:wn}:null,r.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Rr(18,null,null,0),i.stateNode=n,i.return=r,r.child=i,fr=r,dr=null,!0):!1;default:return!1}}function mf(r){return(r.mode&1)!==0&&(r.flags&128)===0}function vf(r){if(nt){var n=dr;if(n){var i=n;if(!bv(r,n)){if(mf(r))throw Error(o(418));n=Wn(i.nextSibling);var u=fr;n&&bv(r,n)?yv(u,i):(r.flags=r.flags&-4097|2,nt=!1,fr=r)}}else{if(mf(r))throw Error(o(418));r.flags=r.flags&-4097|2,nt=!1,fr=r}}}function wv(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;fr=r}function ws(r){if(r!==fr)return!1;if(!nt)return wv(r),nt=!0,!1;var n;if((n=r.tag!==3)&&!(n=r.tag!==5)&&(n=r.type,n=n!=="head"&&n!=="body"&&!sf(r.type,r.memoizedProps)),n&&(n=dr)){if(mf(r))throw xv(),Error(o(418));for(;n;)yv(r,n),n=Wn(n.nextSibling)}if(wv(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,n=0;r;){if(r.nodeType===8){var i=r.data;if(i==="/$"){if(n===0){dr=Wn(r.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++}r=r.nextSibling}dr=null}}else dr=fr?Wn(r.stateNode.nextSibling):null;return!0}function xv(){for(var r=dr;r;)r=Wn(r.nextSibling)}function Sa(){dr=fr=null,nt=!1}function yf(r){$r===null?$r=[r]:$r.push(r)}var T_=O.ReactCurrentBatchConfig;function Ui(r,n,i){if(r=i.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(o(309));var u=i.stateNode}if(!u)throw Error(o(147,r));var p=u,m=""+r;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(C){var F=p.refs;C===null?delete F[m]:F[m]=C},n._stringRef=m,n)}if(typeof r!="string")throw Error(o(284));if(!i._owner)throw Error(o(290,r))}return r}function xs(r,n){throw r=Object.prototype.toString.call(n),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":r))}function Sv(r){var n=r._init;return n(r._payload)}function Ev(r){function n(W,z){if(r){var V=W.deletions;V===null?(W.deletions=[z],W.flags|=16):V.push(z)}}function i(W,z){if(!r)return null;for(;z!==null;)n(W,z),z=z.sibling;return null}function u(W,z){for(W=new Map;z!==null;)z.key!==null?W.set(z.key,z):W.set(z.index,z),z=z.sibling;return W}function p(W,z){return W=to(W,z),W.index=0,W.sibling=null,W}function m(W,z,V){return W.index=V,r?(V=W.alternate,V!==null?(V=V.index,V<z?(W.flags|=2,z):V):(W.flags|=2,z)):(W.flags|=1048576,z)}function C(W){return r&&W.alternate===null&&(W.flags|=2),W}function F(W,z,V,le){return z===null||z.tag!==6?(z=ud(V,W.mode,le),z.return=W,z):(z=p(z,V),z.return=W,z)}function $(W,z,V,le){var Se=V.type;return Se===T?ne(W,z,V.props.children,le,V.key):z!==null&&(z.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===he&&Sv(Se)===z.type)?(le=p(z,V.props),le.ref=Ui(W,z,V),le.return=W,le):(le=qs(V.type,V.key,V.props,null,W.mode,le),le.ref=Ui(W,z,V),le.return=W,le)}function X(W,z,V,le){return z===null||z.tag!==4||z.stateNode.containerInfo!==V.containerInfo||z.stateNode.implementation!==V.implementation?(z=cd(V,W.mode,le),z.return=W,z):(z=p(z,V.children||[]),z.return=W,z)}function ne(W,z,V,le,Se){return z===null||z.tag!==7?(z=Lo(V,W.mode,le,Se),z.return=W,z):(z=p(z,V),z.return=W,z)}function ae(W,z,V){if(typeof z=="string"&&z!==""||typeof z=="number")return z=ud(""+z,W.mode,V),z.return=W,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case P:return V=qs(z.type,z.key,z.props,null,W.mode,V),V.ref=Ui(W,null,z),V.return=W,V;case I:return z=cd(z,W.mode,V),z.return=W,z;case he:var le=z._init;return ae(W,le(z._payload),V)}if(qe(z)||J(z))return z=Lo(z,W.mode,V,null),z.return=W,z;xs(W,z)}return null}function re(W,z,V,le){var Se=z!==null?z.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return Se!==null?null:F(W,z,""+V,le);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case P:return V.key===Se?$(W,z,V,le):null;case I:return V.key===Se?X(W,z,V,le):null;case he:return Se=V._init,re(W,z,Se(V._payload),le)}if(qe(V)||J(V))return Se!==null?null:ne(W,z,V,le,null);xs(W,V)}return null}function pe(W,z,V,le,Se){if(typeof le=="string"&&le!==""||typeof le=="number")return W=W.get(V)||null,F(z,W,""+le,Se);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case P:return W=W.get(le.key===null?V:le.key)||null,$(z,W,le,Se);case I:return W=W.get(le.key===null?V:le.key)||null,X(z,W,le,Se);case he:var _e=le._init;return pe(W,z,V,_e(le._payload),Se)}if(qe(le)||J(le))return W=W.get(V)||null,ne(z,W,le,Se,null);xs(z,le)}return null}function ye(W,z,V,le){for(var Se=null,_e=null,Oe=z,Pe=z=0,Ct=null;Oe!==null&&Pe<V.length;Pe++){Oe.index>Pe?(Ct=Oe,Oe=null):Ct=Oe.sibling;var Be=re(W,Oe,V[Pe],le);if(Be===null){Oe===null&&(Oe=Ct);break}r&&Oe&&Be.alternate===null&&n(W,Oe),z=m(Be,z,Pe),_e===null?Se=Be:_e.sibling=Be,_e=Be,Oe=Ct}if(Pe===V.length)return i(W,Oe),nt&&Oo(W,Pe),Se;if(Oe===null){for(;Pe<V.length;Pe++)Oe=ae(W,V[Pe],le),Oe!==null&&(z=m(Oe,z,Pe),_e===null?Se=Oe:_e.sibling=Oe,_e=Oe);return nt&&Oo(W,Pe),Se}for(Oe=u(W,Oe);Pe<V.length;Pe++)Ct=pe(Oe,W,Pe,V[Pe],le),Ct!==null&&(r&&Ct.alternate!==null&&Oe.delete(Ct.key===null?Pe:Ct.key),z=m(Ct,z,Pe),_e===null?Se=Ct:_e.sibling=Ct,_e=Ct);return r&&Oe.forEach(function(ro){return n(W,ro)}),nt&&Oo(W,Pe),Se}function we(W,z,V,le){var Se=J(V);if(typeof Se!="function")throw Error(o(150));if(V=Se.call(V),V==null)throw Error(o(151));for(var _e=Se=null,Oe=z,Pe=z=0,Ct=null,Be=V.next();Oe!==null&&!Be.done;Pe++,Be=V.next()){Oe.index>Pe?(Ct=Oe,Oe=null):Ct=Oe.sibling;var ro=re(W,Oe,Be.value,le);if(ro===null){Oe===null&&(Oe=Ct);break}r&&Oe&&ro.alternate===null&&n(W,Oe),z=m(ro,z,Pe),_e===null?Se=ro:_e.sibling=ro,_e=ro,Oe=Ct}if(Be.done)return i(W,Oe),nt&&Oo(W,Pe),Se;if(Oe===null){for(;!Be.done;Pe++,Be=V.next())Be=ae(W,Be.value,le),Be!==null&&(z=m(Be,z,Pe),_e===null?Se=Be:_e.sibling=Be,_e=Be);return nt&&Oo(W,Pe),Se}for(Oe=u(W,Oe);!Be.done;Pe++,Be=V.next())Be=pe(Oe,W,Pe,Be.value,le),Be!==null&&(r&&Be.alternate!==null&&Oe.delete(Be.key===null?Pe:Be.key),z=m(Be,z,Pe),_e===null?Se=Be:_e.sibling=Be,_e=Be);return r&&Oe.forEach(function(cO){return n(W,cO)}),nt&&Oo(W,Pe),Se}function ht(W,z,V,le){if(typeof V=="object"&&V!==null&&V.type===T&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case P:e:{for(var Se=V.key,_e=z;_e!==null;){if(_e.key===Se){if(Se=V.type,Se===T){if(_e.tag===7){i(W,_e.sibling),z=p(_e,V.props.children),z.return=W,W=z;break e}}else if(_e.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===he&&Sv(Se)===_e.type){i(W,_e.sibling),z=p(_e,V.props),z.ref=Ui(W,_e,V),z.return=W,W=z;break e}i(W,_e);break}else n(W,_e);_e=_e.sibling}V.type===T?(z=Lo(V.props.children,W.mode,le,V.key),z.return=W,W=z):(le=qs(V.type,V.key,V.props,null,W.mode,le),le.ref=Ui(W,z,V),le.return=W,W=le)}return C(W);case I:e:{for(_e=V.key;z!==null;){if(z.key===_e)if(z.tag===4&&z.stateNode.containerInfo===V.containerInfo&&z.stateNode.implementation===V.implementation){i(W,z.sibling),z=p(z,V.children||[]),z.return=W,W=z;break e}else{i(W,z);break}else n(W,z);z=z.sibling}z=cd(V,W.mode,le),z.return=W,W=z}return C(W);case he:return _e=V._init,ht(W,z,_e(V._payload),le)}if(qe(V))return ye(W,z,V,le);if(J(V))return we(W,z,V,le);xs(W,V)}return typeof V=="string"&&V!==""||typeof V=="number"?(V=""+V,z!==null&&z.tag===6?(i(W,z.sibling),z=p(z,V),z.return=W,W=z):(i(W,z),z=ud(V,W.mode,le),z.return=W,W=z),C(W)):i(W,z)}return ht}var Ea=Ev(!0),kv=Ev(!1),Ss=qn(null),Es=null,ka=null,bf=null;function wf(){bf=ka=Es=null}function xf(r){var n=Ss.current;tt(Ss),r._currentValue=n}function Sf(r,n,i){for(;r!==null;){var u=r.alternate;if((r.childLanes&n)!==n?(r.childLanes|=n,u!==null&&(u.childLanes|=n)):u!==null&&(u.childLanes&n)!==n&&(u.childLanes|=n),r===i)break;r=r.return}}function Ca(r,n){Es=r,bf=ka=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&n)!==0&&(Kt=!0),r.firstContext=null)}function Cr(r){var n=r._currentValue;if(bf!==r)if(r={context:r,memoizedValue:n,next:null},ka===null){if(Es===null)throw Error(o(308));ka=r,Es.dependencies={lanes:0,firstContext:r}}else ka=ka.next=r;return n}var Ro=null;function Ef(r){Ro===null?Ro=[r]:Ro.push(r)}function Cv(r,n,i,u){var p=n.interleaved;return p===null?(i.next=i,Ef(n)):(i.next=p.next,p.next=i),n.interleaved=i,xn(r,u)}function xn(r,n){r.lanes|=n;var i=r.alternate;for(i!==null&&(i.lanes|=n),i=r,r=r.return;r!==null;)r.childLanes|=n,i=r.alternate,i!==null&&(i.childLanes|=n),i=r,r=r.return;return i.tag===3?i.stateNode:null}var Yn=!1;function kf(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _v(r,n){r=r.updateQueue,n.updateQueue===r&&(n.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Sn(r,n){return{eventTime:r,lane:n,tag:0,payload:null,callback:null,next:null}}function Kn(r,n,i){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,(ze&2)!==0){var p=u.pending;return p===null?n.next=n:(n.next=p.next,p.next=n),u.pending=n,xn(r,i)}return p=u.interleaved,p===null?(n.next=n,Ef(u)):(n.next=p.next,p.next=n),u.interleaved=n,xn(r,i)}function ks(r,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var u=n.lanes;u&=r.pendingLanes,i|=u,n.lanes=i,$c(r,i)}}function Ov(r,n){var i=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var p=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var C={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};m===null?p=m=C:m=m.next=C,i=i.next}while(i!==null);m===null?p=m=n:m=m.next=n}else p=m=n;i={baseState:u.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:u.shared,effects:u.effects},r.updateQueue=i;return}r=i.lastBaseUpdate,r===null?i.firstBaseUpdate=n:r.next=n,i.lastBaseUpdate=n}function Cs(r,n,i,u){var p=r.updateQueue;Yn=!1;var m=p.firstBaseUpdate,C=p.lastBaseUpdate,F=p.shared.pending;if(F!==null){p.shared.pending=null;var $=F,X=$.next;$.next=null,C===null?m=X:C.next=X,C=$;var ne=r.alternate;ne!==null&&(ne=ne.updateQueue,F=ne.lastBaseUpdate,F!==C&&(F===null?ne.firstBaseUpdate=X:F.next=X,ne.lastBaseUpdate=$))}if(m!==null){var ae=p.baseState;C=0,ne=X=$=null,F=m;do{var re=F.lane,pe=F.eventTime;if((u&re)===re){ne!==null&&(ne=ne.next={eventTime:pe,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var ye=r,we=F;switch(re=n,pe=i,we.tag){case 1:if(ye=we.payload,typeof ye=="function"){ae=ye.call(pe,ae,re);break e}ae=ye;break e;case 3:ye.flags=ye.flags&-65537|128;case 0:if(ye=we.payload,re=typeof ye=="function"?ye.call(pe,ae,re):ye,re==null)break e;ae=Q({},ae,re);break e;case 2:Yn=!0}}F.callback!==null&&F.lane!==0&&(r.flags|=64,re=p.effects,re===null?p.effects=[F]:re.push(F))}else pe={eventTime:pe,lane:re,tag:F.tag,payload:F.payload,callback:F.callback,next:null},ne===null?(X=ne=pe,$=ae):ne=ne.next=pe,C|=re;if(F=F.next,F===null){if(F=p.shared.pending,F===null)break;re=F,F=re.next,re.next=null,p.lastBaseUpdate=re,p.shared.pending=null}}while(!0);if(ne===null&&($=ae),p.baseState=$,p.firstBaseUpdate=X,p.lastBaseUpdate=ne,n=p.shared.interleaved,n!==null){p=n;do C|=p.lane,p=p.next;while(p!==n)}else m===null&&(p.shared.lanes=0);To|=C,r.lanes=C,r.memoizedState=ae}}function Rv(r,n,i){if(r=n.effects,n.effects=null,r!==null)for(n=0;n<r.length;n++){var u=r[n],p=u.callback;if(p!==null){if(u.callback=null,u=i,typeof p!="function")throw Error(o(191,p));p.call(u)}}}var Wi={},en=qn(Wi),qi=qn(Wi),Vi=qn(Wi);function Ao(r){if(r===Wi)throw Error(o(174));return r}function Cf(r,n){switch(Ze(Vi,n),Ze(qi,r),Ze(en,Wi),r=n.nodeType,r){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:lt(null,"");break;default:r=r===8?n.parentNode:n,n=r.namespaceURI||null,r=r.tagName,n=lt(n,r)}tt(en),Ze(en,n)}function _a(){tt(en),tt(qi),tt(Vi)}function Av(r){Ao(Vi.current);var n=Ao(en.current),i=lt(n,r.type);n!==i&&(Ze(qi,r),Ze(en,i))}function _f(r){qi.current===r&&(tt(en),tt(qi))}var at=qn(0);function _s(r){for(var n=r;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break;for(;n.sibling===null;){if(n.return===null||n.return===r)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Of=[];function Rf(){for(var r=0;r<Of.length;r++)Of[r]._workInProgressVersionPrimary=null;Of.length=0}var Os=O.ReactCurrentDispatcher,Af=O.ReactCurrentBatchConfig,Po=0,it=null,bt=null,Et=null,Rs=!1,Gi=!1,Yi=0,I_=0;function $t(){throw Error(o(321))}function Pf(r,n){if(n===null)return!1;for(var i=0;i<n.length&&i<r.length;i++)if(!jr(r[i],n[i]))return!1;return!0}function Tf(r,n,i,u,p,m){if(Po=m,it=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Os.current=r===null||r.memoizedState===null?j_:$_,r=i(u,p),Gi){m=0;do{if(Gi=!1,Yi=0,25<=m)throw Error(o(301));m+=1,Et=bt=null,n.updateQueue=null,Os.current=M_,r=i(u,p)}while(Gi)}if(Os.current=Ts,n=bt!==null&&bt.next!==null,Po=0,Et=bt=it=null,Rs=!1,n)throw Error(o(300));return r}function If(){var r=Yi!==0;return Yi=0,r}function tn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Et===null?it.memoizedState=Et=r:Et=Et.next=r,Et}function _r(){if(bt===null){var r=it.alternate;r=r!==null?r.memoizedState:null}else r=bt.next;var n=Et===null?it.memoizedState:Et.next;if(n!==null)Et=n,bt=r;else{if(r===null)throw Error(o(310));bt=r,r={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Et===null?it.memoizedState=Et=r:Et=Et.next=r}return Et}function Ki(r,n){return typeof n=="function"?n(r):n}function Ff(r){var n=_r(),i=n.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=r;var u=bt,p=u.baseQueue,m=i.pending;if(m!==null){if(p!==null){var C=p.next;p.next=m.next,m.next=C}u.baseQueue=p=m,i.pending=null}if(p!==null){m=p.next,u=u.baseState;var F=C=null,$=null,X=m;do{var ne=X.lane;if((Po&ne)===ne)$!==null&&($=$.next={lane:0,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),u=X.hasEagerState?X.eagerState:r(u,X.action);else{var ae={lane:ne,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null};$===null?(F=$=ae,C=u):$=$.next=ae,it.lanes|=ne,To|=ne}X=X.next}while(X!==null&&X!==m);$===null?C=u:$.next=F,jr(u,n.memoizedState)||(Kt=!0),n.memoizedState=u,n.baseState=C,n.baseQueue=$,i.lastRenderedState=u}if(r=i.interleaved,r!==null){p=r;do m=p.lane,it.lanes|=m,To|=m,p=p.next;while(p!==r)}else p===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function Nf(r){var n=_r(),i=n.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=r;var u=i.dispatch,p=i.pending,m=n.memoizedState;if(p!==null){i.pending=null;var C=p=p.next;do m=r(m,C.action),C=C.next;while(C!==p);jr(m,n.memoizedState)||(Kt=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),i.lastRenderedState=m}return[m,u]}function Pv(){}function Tv(r,n){var i=it,u=_r(),p=n(),m=!jr(u.memoizedState,p);if(m&&(u.memoizedState=p,Kt=!0),u=u.queue,Lf(Nv.bind(null,i,u,r),[r]),u.getSnapshot!==n||m||Et!==null&&Et.memoizedState.tag&1){if(i.flags|=2048,Xi(9,Fv.bind(null,i,u,p,n),void 0,null),kt===null)throw Error(o(349));(Po&30)!==0||Iv(i,n,p)}return p}function Iv(r,n,i){r.flags|=16384,r={getSnapshot:n,value:i},n=it.updateQueue,n===null?(n={lastEffect:null,stores:null},it.updateQueue=n,n.stores=[r]):(i=n.stores,i===null?n.stores=[r]:i.push(r))}function Fv(r,n,i,u){n.value=i,n.getSnapshot=u,Lv(n)&&jv(r)}function Nv(r,n,i){return i(function(){Lv(n)&&jv(r)})}function Lv(r){var n=r.getSnapshot;r=r.value;try{var i=n();return!jr(r,i)}catch{return!0}}function jv(r){var n=xn(r,1);n!==null&&Br(n,r,1,-1)}function $v(r){var n=tn();return typeof r=="function"&&(r=r()),n.memoizedState=n.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:r},n.queue=r,r=r.dispatch=L_.bind(null,it,r),[n.memoizedState,r]}function Xi(r,n,i,u){return r={tag:r,create:n,destroy:i,deps:u,next:null},n=it.updateQueue,n===null?(n={lastEffect:null,stores:null},it.updateQueue=n,n.lastEffect=r.next=r):(i=n.lastEffect,i===null?n.lastEffect=r.next=r:(u=i.next,i.next=r,r.next=u,n.lastEffect=r)),r}function Mv(){return _r().memoizedState}function As(r,n,i,u){var p=tn();it.flags|=r,p.memoizedState=Xi(1|n,i,void 0,u===void 0?null:u)}function Ps(r,n,i,u){var p=_r();u=u===void 0?null:u;var m=void 0;if(bt!==null){var C=bt.memoizedState;if(m=C.destroy,u!==null&&Pf(u,C.deps)){p.memoizedState=Xi(n,i,m,u);return}}it.flags|=r,p.memoizedState=Xi(1|n,i,m,u)}function Dv(r,n){return As(8390656,8,r,n)}function Lf(r,n){return Ps(2048,8,r,n)}function zv(r,n){return Ps(4,2,r,n)}function Bv(r,n){return Ps(4,4,r,n)}function Hv(r,n){if(typeof n=="function")return r=r(),n(r),function(){n(null)};if(n!=null)return r=r(),n.current=r,function(){n.current=null}}function Uv(r,n,i){return i=i!=null?i.concat([r]):null,Ps(4,4,Hv.bind(null,n,r),i)}function jf(){}function Wv(r,n){var i=_r();n=n===void 0?null:n;var u=i.memoizedState;return u!==null&&n!==null&&Pf(n,u[1])?u[0]:(i.memoizedState=[r,n],r)}function qv(r,n){var i=_r();n=n===void 0?null:n;var u=i.memoizedState;return u!==null&&n!==null&&Pf(n,u[1])?u[0]:(r=r(),i.memoizedState=[r,n],r)}function Vv(r,n,i){return(Po&21)===0?(r.baseState&&(r.baseState=!1,Kt=!0),r.memoizedState=i):(jr(i,n)||(i=Sm(),it.lanes|=i,To|=i,r.baseState=!0),n)}function F_(r,n){var i=Ge;Ge=i!==0&&4>i?i:4,r(!0);var u=Af.transition;Af.transition={};try{r(!1),n()}finally{Ge=i,Af.transition=u}}function Gv(){return _r().memoizedState}function N_(r,n,i){var u=Jn(r);if(i={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null},Yv(r))Kv(n,i);else if(i=Cv(r,n,i,u),i!==null){var p=Ut();Br(i,r,u,p),Xv(i,n,u)}}function L_(r,n,i){var u=Jn(r),p={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(Yv(r))Kv(n,p);else{var m=r.alternate;if(r.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var C=n.lastRenderedState,F=m(C,i);if(p.hasEagerState=!0,p.eagerState=F,jr(F,C)){var $=n.interleaved;$===null?(p.next=p,Ef(n)):(p.next=$.next,$.next=p),n.interleaved=p;return}}catch{}finally{}i=Cv(r,n,p,u),i!==null&&(p=Ut(),Br(i,r,u,p),Xv(i,n,u))}}function Yv(r){var n=r.alternate;return r===it||n!==null&&n===it}function Kv(r,n){Gi=Rs=!0;var i=r.pending;i===null?n.next=n:(n.next=i.next,i.next=n),r.pending=n}function Xv(r,n,i){if((i&4194240)!==0){var u=n.lanes;u&=r.pendingLanes,i|=u,n.lanes=i,$c(r,i)}}var Ts={readContext:Cr,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},j_={readContext:Cr,useCallback:function(r,n){return tn().memoizedState=[r,n===void 0?null:n],r},useContext:Cr,useEffect:Dv,useImperativeHandle:function(r,n,i){return i=i!=null?i.concat([r]):null,As(4194308,4,Hv.bind(null,n,r),i)},useLayoutEffect:function(r,n){return As(4194308,4,r,n)},useInsertionEffect:function(r,n){return As(4,2,r,n)},useMemo:function(r,n){var i=tn();return n=n===void 0?null:n,r=r(),i.memoizedState=[r,n],r},useReducer:function(r,n,i){var u=tn();return n=i!==void 0?i(n):n,u.memoizedState=u.baseState=n,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:n},u.queue=r,r=r.dispatch=N_.bind(null,it,r),[u.memoizedState,r]},useRef:function(r){var n=tn();return r={current:r},n.memoizedState=r},useState:$v,useDebugValue:jf,useDeferredValue:function(r){return tn().memoizedState=r},useTransition:function(){var r=$v(!1),n=r[0];return r=F_.bind(null,r[1]),tn().memoizedState=r,[n,r]},useMutableSource:function(){},useSyncExternalStore:function(r,n,i){var u=it,p=tn();if(nt){if(i===void 0)throw Error(o(407));i=i()}else{if(i=n(),kt===null)throw Error(o(349));(Po&30)!==0||Iv(u,n,i)}p.memoizedState=i;var m={value:i,getSnapshot:n};return p.queue=m,Dv(Nv.bind(null,u,m,r),[r]),u.flags|=2048,Xi(9,Fv.bind(null,u,m,i,n),void 0,null),i},useId:function(){var r=tn(),n=kt.identifierPrefix;if(nt){var i=wn,u=bn;i=(u&~(1<<32-Lr(u)-1)).toString(32)+i,n=":"+n+"R"+i,i=Yi++,0<i&&(n+="H"+i.toString(32)),n+=":"}else i=I_++,n=":"+n+"r"+i.toString(32)+":";return r.memoizedState=n},unstable_isNewReconciler:!1},$_={readContext:Cr,useCallback:Wv,useContext:Cr,useEffect:Lf,useImperativeHandle:Uv,useInsertionEffect:zv,useLayoutEffect:Bv,useMemo:qv,useReducer:Ff,useRef:Mv,useState:function(){return Ff(Ki)},useDebugValue:jf,useDeferredValue:function(r){var n=_r();return Vv(n,bt.memoizedState,r)},useTransition:function(){var r=Ff(Ki)[0],n=_r().memoizedState;return[r,n]},useMutableSource:Pv,useSyncExternalStore:Tv,useId:Gv,unstable_isNewReconciler:!1},M_={readContext:Cr,useCallback:Wv,useContext:Cr,useEffect:Lf,useImperativeHandle:Uv,useInsertionEffect:zv,useLayoutEffect:Bv,useMemo:qv,useReducer:Nf,useRef:Mv,useState:function(){return Nf(Ki)},useDebugValue:jf,useDeferredValue:function(r){var n=_r();return bt===null?n.memoizedState=r:Vv(n,bt.memoizedState,r)},useTransition:function(){var r=Nf(Ki)[0],n=_r().memoizedState;return[r,n]},useMutableSource:Pv,useSyncExternalStore:Tv,useId:Gv,unstable_isNewReconciler:!1};function Mr(r,n){if(r&&r.defaultProps){n=Q({},n),r=r.defaultProps;for(var i in r)n[i]===void 0&&(n[i]=r[i]);return n}return n}function $f(r,n,i,u){n=r.memoizedState,i=i(u,n),i=i==null?n:Q({},n,i),r.memoizedState=i,r.lanes===0&&(r.updateQueue.baseState=i)}var Is={isMounted:function(r){return(r=r._reactInternals)?Qr(r)===r:!1},enqueueSetState:function(r,n,i){r=r._reactInternals;var u=Ut(),p=Jn(r),m=Sn(u,p);m.payload=n,i!=null&&(m.callback=i),n=Kn(r,m,p),n!==null&&(Br(n,r,p,u),ks(n,r,p))},enqueueReplaceState:function(r,n,i){r=r._reactInternals;var u=Ut(),p=Jn(r),m=Sn(u,p);m.tag=1,m.payload=n,i!=null&&(m.callback=i),n=Kn(r,m,p),n!==null&&(Br(n,r,p,u),ks(n,r,p))},enqueueForceUpdate:function(r,n){r=r._reactInternals;var i=Ut(),u=Jn(r),p=Sn(i,u);p.tag=2,n!=null&&(p.callback=n),n=Kn(r,p,u),n!==null&&(Br(n,r,u,i),ks(n,r,u))}};function Qv(r,n,i,u,p,m,C){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,m,C):n.prototype&&n.prototype.isPureReactComponent?!ji(i,u)||!ji(p,m):!0}function Zv(r,n,i){var u=!1,p=Vn,m=n.contextType;return typeof m=="object"&&m!==null?m=Cr(m):(p=Yt(n)?Co:jt.current,u=n.contextTypes,m=(u=u!=null)?ba(r,p):Vn),n=new n(i,m),r.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Is,r.stateNode=n,n._reactInternals=r,u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=p,r.__reactInternalMemoizedMaskedChildContext=m),n}function Jv(r,n,i,u){r=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,u),n.state!==r&&Is.enqueueReplaceState(n,n.state,null)}function Mf(r,n,i,u){var p=r.stateNode;p.props=i,p.state=r.memoizedState,p.refs={},kf(r);var m=n.contextType;typeof m=="object"&&m!==null?p.context=Cr(m):(m=Yt(n)?Co:jt.current,p.context=ba(r,m)),p.state=r.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&($f(r,n,m,i),p.state=r.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(n=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),n!==p.state&&Is.enqueueReplaceState(p,p.state,null),Cs(r,i,p,u),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308)}function Oa(r,n){try{var i="",u=n;do i+=oe(u),u=u.return;while(u);var p=i}catch(m){p=`
|
39
|
+
Error generating stack: `+m.message+`
|
40
|
+
`+m.stack}return{value:r,source:n,stack:p,digest:null}}function Df(r,n,i){return{value:r,source:null,stack:i??null,digest:n??null}}function zf(r,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var D_=typeof WeakMap=="function"?WeakMap:Map;function ey(r,n,i){i=Sn(-1,i),i.tag=3,i.payload={element:null};var u=n.value;return i.callback=function(){Ds||(Ds=!0,td=u),zf(r,n)},i}function ty(r,n,i){i=Sn(-1,i),i.tag=3;var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var p=n.value;i.payload=function(){return u(p)},i.callback=function(){zf(r,n)}}var m=r.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(i.callback=function(){zf(r,n),typeof u!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var C=n.stack;this.componentDidCatch(n.value,{componentStack:C!==null?C:""})}),i}function ry(r,n,i){var u=r.pingCache;if(u===null){u=r.pingCache=new D_;var p=new Set;u.set(n,p)}else p=u.get(n),p===void 0&&(p=new Set,u.set(n,p));p.has(i)||(p.add(i),r=J_.bind(null,r,n,i),n.then(r,r))}function ny(r){do{var n;if((n=r.tag===13)&&(n=r.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return r;r=r.return}while(r!==null);return null}function oy(r,n,i,u,p){return(r.mode&1)===0?(r===n?r.flags|=65536:(r.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=Sn(-1,1),n.tag=2,Kn(i,n,1))),i.lanes|=1),r):(r.flags|=65536,r.lanes=p,r)}var z_=O.ReactCurrentOwner,Kt=!1;function Ht(r,n,i,u){n.child=r===null?kv(n,null,i,u):Ea(n,r.child,i,u)}function ay(r,n,i,u,p){i=i.render;var m=n.ref;return Ca(n,p),u=Tf(r,n,i,u,m,p),i=If(),r!==null&&!Kt?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~p,En(r,n,p)):(nt&&i&&hf(n),n.flags|=1,Ht(r,n,u,p),n.child)}function iy(r,n,i,u,p){if(r===null){var m=i.type;return typeof m=="function"&&!sd(m)&&m.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=m,ly(r,n,m,u,p)):(r=qs(i.type,null,u,n,n.mode,p),r.ref=n.ref,r.return=n,n.child=r)}if(m=r.child,(r.lanes&p)===0){var C=m.memoizedProps;if(i=i.compare,i=i!==null?i:ji,i(C,u)&&r.ref===n.ref)return En(r,n,p)}return n.flags|=1,r=to(m,u),r.ref=n.ref,r.return=n,n.child=r}function ly(r,n,i,u,p){if(r!==null){var m=r.memoizedProps;if(ji(m,u)&&r.ref===n.ref)if(Kt=!1,n.pendingProps=u=m,(r.lanes&p)!==0)(r.flags&131072)!==0&&(Kt=!0);else return n.lanes=r.lanes,En(r,n,p)}return Bf(r,n,i,u,p)}function sy(r,n,i){var u=n.pendingProps,p=u.children,m=r!==null?r.memoizedState:null;if(u.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ze(Aa,pr),pr|=i;else{if((i&1073741824)===0)return r=m!==null?m.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:r,cachePool:null,transitions:null},n.updateQueue=null,Ze(Aa,pr),pr|=r,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=m!==null?m.baseLanes:i,Ze(Aa,pr),pr|=u}else m!==null?(u=m.baseLanes|i,n.memoizedState=null):u=i,Ze(Aa,pr),pr|=u;return Ht(r,n,p,i),n.child}function uy(r,n){var i=n.ref;(r===null&&i!==null||r!==null&&r.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function Bf(r,n,i,u,p){var m=Yt(i)?Co:jt.current;return m=ba(n,m),Ca(n,p),i=Tf(r,n,i,u,m,p),u=If(),r!==null&&!Kt?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~p,En(r,n,p)):(nt&&u&&hf(n),n.flags|=1,Ht(r,n,i,p),n.child)}function cy(r,n,i,u,p){if(Yt(i)){var m=!0;ms(n)}else m=!1;if(Ca(n,p),n.stateNode===null)Ns(r,n),Zv(n,i,u),Mf(n,i,u,p),u=!0;else if(r===null){var C=n.stateNode,F=n.memoizedProps;C.props=F;var $=C.context,X=i.contextType;typeof X=="object"&&X!==null?X=Cr(X):(X=Yt(i)?Co:jt.current,X=ba(n,X));var ne=i.getDerivedStateFromProps,ae=typeof ne=="function"||typeof C.getSnapshotBeforeUpdate=="function";ae||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(F!==u||$!==X)&&Jv(n,C,u,X),Yn=!1;var re=n.memoizedState;C.state=re,Cs(n,u,C,p),$=n.memoizedState,F!==u||re!==$||Gt.current||Yn?(typeof ne=="function"&&($f(n,i,ne,u),$=n.memoizedState),(F=Yn||Qv(n,i,F,u,re,$,X))?(ae||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(n.flags|=4194308)):(typeof C.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=u,n.memoizedState=$),C.props=u,C.state=$,C.context=X,u=F):(typeof C.componentDidMount=="function"&&(n.flags|=4194308),u=!1)}else{C=n.stateNode,_v(r,n),F=n.memoizedProps,X=n.type===n.elementType?F:Mr(n.type,F),C.props=X,ae=n.pendingProps,re=C.context,$=i.contextType,typeof $=="object"&&$!==null?$=Cr($):($=Yt(i)?Co:jt.current,$=ba(n,$));var pe=i.getDerivedStateFromProps;(ne=typeof pe=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(F!==ae||re!==$)&&Jv(n,C,u,$),Yn=!1,re=n.memoizedState,C.state=re,Cs(n,u,C,p);var ye=n.memoizedState;F!==ae||re!==ye||Gt.current||Yn?(typeof pe=="function"&&($f(n,i,pe,u),ye=n.memoizedState),(X=Yn||Qv(n,i,X,u,re,ye,$)||!1)?(ne||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(u,ye,$),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(u,ye,$)),typeof C.componentDidUpdate=="function"&&(n.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof C.componentDidUpdate!="function"||F===r.memoizedProps&&re===r.memoizedState||(n.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||F===r.memoizedProps&&re===r.memoizedState||(n.flags|=1024),n.memoizedProps=u,n.memoizedState=ye),C.props=u,C.state=ye,C.context=$,u=X):(typeof C.componentDidUpdate!="function"||F===r.memoizedProps&&re===r.memoizedState||(n.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||F===r.memoizedProps&&re===r.memoizedState||(n.flags|=1024),u=!1)}return Hf(r,n,i,u,m,p)}function Hf(r,n,i,u,p,m){uy(r,n);var C=(n.flags&128)!==0;if(!u&&!C)return p&&gv(n,i,!1),En(r,n,m);u=n.stateNode,z_.current=n;var F=C&&typeof i.getDerivedStateFromError!="function"?null:u.render();return n.flags|=1,r!==null&&C?(n.child=Ea(n,r.child,null,m),n.child=Ea(n,null,F,m)):Ht(r,n,F,m),n.memoizedState=u.state,p&&gv(n,i,!0),n.child}function fy(r){var n=r.stateNode;n.pendingContext?pv(r,n.pendingContext,n.pendingContext!==n.context):n.context&&pv(r,n.context,!1),Cf(r,n.containerInfo)}function dy(r,n,i,u,p){return Sa(),yf(p),n.flags|=256,Ht(r,n,i,u),n.child}var Uf={dehydrated:null,treeContext:null,retryLane:0};function Wf(r){return{baseLanes:r,cachePool:null,transitions:null}}function py(r,n,i){var u=n.pendingProps,p=at.current,m=!1,C=(n.flags&128)!==0,F;if((F=C)||(F=r!==null&&r.memoizedState===null?!1:(p&2)!==0),F?(m=!0,n.flags&=-129):(r===null||r.memoizedState!==null)&&(p|=1),Ze(at,p&1),r===null)return vf(n),r=n.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((n.mode&1)===0?n.lanes=1:r.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(C=u.children,r=u.fallback,m?(u=n.mode,m=n.child,C={mode:"hidden",children:C},(u&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=C):m=Vs(C,u,0,null),r=Lo(r,u,i,null),m.return=n,r.return=n,m.sibling=r,n.child=m,n.child.memoizedState=Wf(i),n.memoizedState=Uf,r):qf(n,C));if(p=r.memoizedState,p!==null&&(F=p.dehydrated,F!==null))return B_(r,n,C,u,F,p,i);if(m){m=u.fallback,C=n.mode,p=r.child,F=p.sibling;var $={mode:"hidden",children:u.children};return(C&1)===0&&n.child!==p?(u=n.child,u.childLanes=0,u.pendingProps=$,n.deletions=null):(u=to(p,$),u.subtreeFlags=p.subtreeFlags&14680064),F!==null?m=to(F,m):(m=Lo(m,C,i,null),m.flags|=2),m.return=n,u.return=n,u.sibling=m,n.child=u,u=m,m=n.child,C=r.child.memoizedState,C=C===null?Wf(i):{baseLanes:C.baseLanes|i,cachePool:null,transitions:C.transitions},m.memoizedState=C,m.childLanes=r.childLanes&~i,n.memoizedState=Uf,u}return m=r.child,r=m.sibling,u=to(m,{mode:"visible",children:u.children}),(n.mode&1)===0&&(u.lanes=i),u.return=n,u.sibling=null,r!==null&&(i=n.deletions,i===null?(n.deletions=[r],n.flags|=16):i.push(r)),n.child=u,n.memoizedState=null,u}function qf(r,n){return n=Vs({mode:"visible",children:n},r.mode,0,null),n.return=r,r.child=n}function Fs(r,n,i,u){return u!==null&&yf(u),Ea(n,r.child,null,i),r=qf(n,n.pendingProps.children),r.flags|=2,n.memoizedState=null,r}function B_(r,n,i,u,p,m,C){if(i)return n.flags&256?(n.flags&=-257,u=Df(Error(o(422))),Fs(r,n,C,u)):n.memoizedState!==null?(n.child=r.child,n.flags|=128,null):(m=u.fallback,p=n.mode,u=Vs({mode:"visible",children:u.children},p,0,null),m=Lo(m,p,C,null),m.flags|=2,u.return=n,m.return=n,u.sibling=m,n.child=u,(n.mode&1)!==0&&Ea(n,r.child,null,C),n.child.memoizedState=Wf(C),n.memoizedState=Uf,m);if((n.mode&1)===0)return Fs(r,n,C,null);if(p.data==="$!"){if(u=p.nextSibling&&p.nextSibling.dataset,u)var F=u.dgst;return u=F,m=Error(o(419)),u=Df(m,u,void 0),Fs(r,n,C,u)}if(F=(C&r.childLanes)!==0,Kt||F){if(u=kt,u!==null){switch(C&-C){case 4:p=2;break;case 16:p=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(u.suspendedLanes|C))!==0?0:p,p!==0&&p!==m.retryLane&&(m.retryLane=p,xn(r,p),Br(u,r,p,-1))}return ld(),u=Df(Error(o(421))),Fs(r,n,C,u)}return p.data==="$?"?(n.flags|=128,n.child=r.child,n=eO.bind(null,r),p._reactRetry=n,null):(r=m.treeContext,dr=Wn(p.nextSibling),fr=n,nt=!0,$r=null,r!==null&&(Er[kr++]=bn,Er[kr++]=wn,Er[kr++]=_o,bn=r.id,wn=r.overflow,_o=n),n=qf(n,u.children),n.flags|=4096,n)}function hy(r,n,i){r.lanes|=n;var u=r.alternate;u!==null&&(u.lanes|=n),Sf(r.return,n,i)}function Vf(r,n,i,u,p){var m=r.memoizedState;m===null?r.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:p}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=u,m.tail=i,m.tailMode=p)}function gy(r,n,i){var u=n.pendingProps,p=u.revealOrder,m=u.tail;if(Ht(r,n,u.children,i),u=at.current,(u&2)!==0)u=u&1|2,n.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=n.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&hy(r,i,n);else if(r.tag===19)hy(r,i,n);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}u&=1}if(Ze(at,u),(n.mode&1)===0)n.memoizedState=null;else switch(p){case"forwards":for(i=n.child,p=null;i!==null;)r=i.alternate,r!==null&&_s(r)===null&&(p=i),i=i.sibling;i=p,i===null?(p=n.child,n.child=null):(p=i.sibling,i.sibling=null),Vf(n,!1,p,i,m);break;case"backwards":for(i=null,p=n.child,n.child=null;p!==null;){if(r=p.alternate,r!==null&&_s(r)===null){n.child=p;break}r=p.sibling,p.sibling=i,i=p,p=r}Vf(n,!0,i,null,m);break;case"together":Vf(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ns(r,n){(n.mode&1)===0&&r!==null&&(r.alternate=null,n.alternate=null,n.flags|=2)}function En(r,n,i){if(r!==null&&(n.dependencies=r.dependencies),To|=n.lanes,(i&n.childLanes)===0)return null;if(r!==null&&n.child!==r.child)throw Error(o(153));if(n.child!==null){for(r=n.child,i=to(r,r.pendingProps),n.child=i,i.return=n;r.sibling!==null;)r=r.sibling,i=i.sibling=to(r,r.pendingProps),i.return=n;i.sibling=null}return n.child}function H_(r,n,i){switch(n.tag){case 3:fy(n),Sa();break;case 5:Av(n);break;case 1:Yt(n.type)&&ms(n);break;case 4:Cf(n,n.stateNode.containerInfo);break;case 10:var u=n.type._context,p=n.memoizedProps.value;Ze(Ss,u._currentValue),u._currentValue=p;break;case 13:if(u=n.memoizedState,u!==null)return u.dehydrated!==null?(Ze(at,at.current&1),n.flags|=128,null):(i&n.child.childLanes)!==0?py(r,n,i):(Ze(at,at.current&1),r=En(r,n,i),r!==null?r.sibling:null);Ze(at,at.current&1);break;case 19:if(u=(i&n.childLanes)!==0,(r.flags&128)!==0){if(u)return gy(r,n,i);n.flags|=128}if(p=n.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Ze(at,at.current),u)break;return null;case 22:case 23:return n.lanes=0,sy(r,n,i)}return En(r,n,i)}var my,Gf,vy,yy;my=function(r,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)r.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Gf=function(){},vy=function(r,n,i,u){var p=r.memoizedProps;if(p!==u){r=n.stateNode,Ao(en.current);var m=null;switch(i){case"input":p=Ue(r,p),u=Ue(r,u),m=[];break;case"select":p=Q({},p,{value:void 0}),u=Q({},u,{value:void 0}),m=[];break;case"textarea":p=dt(r,p),u=dt(r,u),m=[];break;default:typeof p.onClick!="function"&&typeof u.onClick=="function"&&(r.onclick=ps)}Y(i,u);var C;i=null;for(X in p)if(!u.hasOwnProperty(X)&&p.hasOwnProperty(X)&&p[X]!=null)if(X==="style"){var F=p[X];for(C in F)F.hasOwnProperty(C)&&(i||(i={}),i[C]="")}else X!=="dangerouslySetInnerHTML"&&X!=="children"&&X!=="suppressContentEditableWarning"&&X!=="suppressHydrationWarning"&&X!=="autoFocus"&&(l.hasOwnProperty(X)?m||(m=[]):(m=m||[]).push(X,null));for(X in u){var $=u[X];if(F=p!=null?p[X]:void 0,u.hasOwnProperty(X)&&$!==F&&($!=null||F!=null))if(X==="style")if(F){for(C in F)!F.hasOwnProperty(C)||$&&$.hasOwnProperty(C)||(i||(i={}),i[C]="");for(C in $)$.hasOwnProperty(C)&&F[C]!==$[C]&&(i||(i={}),i[C]=$[C])}else i||(m||(m=[]),m.push(X,i)),i=$;else X==="dangerouslySetInnerHTML"?($=$?$.__html:void 0,F=F?F.__html:void 0,$!=null&&F!==$&&(m=m||[]).push(X,$)):X==="children"?typeof $!="string"&&typeof $!="number"||(m=m||[]).push(X,""+$):X!=="suppressContentEditableWarning"&&X!=="suppressHydrationWarning"&&(l.hasOwnProperty(X)?($!=null&&X==="onScroll"&&et("scroll",r),m||F===$||(m=[])):(m=m||[]).push(X,$))}i&&(m=m||[]).push("style",i);var X=m;(n.updateQueue=X)&&(n.flags|=4)}},yy=function(r,n,i,u){i!==u&&(n.flags|=4)};function Qi(r,n){if(!nt)switch(r.tailMode){case"hidden":n=r.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?r.tail=null:i.sibling=null;break;case"collapsed":i=r.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?n||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}function Mt(r){var n=r.alternate!==null&&r.alternate.child===r.child,i=0,u=0;if(n)for(var p=r.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags&14680064,u|=p.flags&14680064,p.return=r,p=p.sibling;else for(p=r.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,p.return=r,p=p.sibling;return r.subtreeFlags|=u,r.childLanes=i,n}function U_(r,n,i){var u=n.pendingProps;switch(gf(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mt(n),null;case 1:return Yt(n.type)&&gs(),Mt(n),null;case 3:return u=n.stateNode,_a(),tt(Gt),tt(jt),Rf(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(ws(n)?n.flags|=4:r===null||r.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,$r!==null&&(od($r),$r=null))),Gf(r,n),Mt(n),null;case 5:_f(n);var p=Ao(Vi.current);if(i=n.type,r!==null&&n.stateNode!=null)vy(r,n,i,u,p),r.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!u){if(n.stateNode===null)throw Error(o(166));return Mt(n),null}if(r=Ao(en.current),ws(n)){u=n.stateNode,i=n.type;var m=n.memoizedProps;switch(u[Jr]=n,u[Bi]=m,r=(n.mode&1)!==0,i){case"dialog":et("cancel",u),et("close",u);break;case"iframe":case"object":case"embed":et("load",u);break;case"video":case"audio":for(p=0;p<Mi.length;p++)et(Mi[p],u);break;case"source":et("error",u);break;case"img":case"image":case"link":et("error",u),et("load",u);break;case"details":et("toggle",u);break;case"input":Ke(u,m),et("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!m.multiple},et("invalid",u);break;case"textarea":Nt(u,m),et("invalid",u)}Y(i,m),p=null;for(var C in m)if(m.hasOwnProperty(C)){var F=m[C];C==="children"?typeof F=="string"?u.textContent!==F&&(m.suppressHydrationWarning!==!0&&ds(u.textContent,F,r),p=["children",F]):typeof F=="number"&&u.textContent!==""+F&&(m.suppressHydrationWarning!==!0&&ds(u.textContent,F,r),p=["children",""+F]):l.hasOwnProperty(C)&&F!=null&&C==="onScroll"&&et("scroll",u)}switch(i){case"input":Fe(u),yt(u,m,!0);break;case"textarea":Fe(u),Nr(u);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(u.onclick=ps)}u=p,n.updateQueue=u,u!==null&&(n.flags|=4)}else{C=p.nodeType===9?p:p.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=Lt(i)),r==="http://www.w3.org/1999/xhtml"?i==="script"?(r=C.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof u.is=="string"?r=C.createElement(i,{is:u.is}):(r=C.createElement(i),i==="select"&&(C=r,u.multiple?C.multiple=!0:u.size&&(C.size=u.size))):r=C.createElementNS(r,i),r[Jr]=n,r[Bi]=u,my(r,n,!1,!1),n.stateNode=r;e:{switch(C=Te(i,u),i){case"dialog":et("cancel",r),et("close",r),p=u;break;case"iframe":case"object":case"embed":et("load",r),p=u;break;case"video":case"audio":for(p=0;p<Mi.length;p++)et(Mi[p],r);p=u;break;case"source":et("error",r),p=u;break;case"img":case"image":case"link":et("error",r),et("load",r),p=u;break;case"details":et("toggle",r),p=u;break;case"input":Ke(r,u),p=Ue(r,u),et("invalid",r);break;case"option":p=u;break;case"select":r._wrapperState={wasMultiple:!!u.multiple},p=Q({},u,{value:void 0}),et("invalid",r);break;case"textarea":Nt(r,u),p=dt(r,u),et("invalid",r);break;default:p=u}Y(i,p),F=p;for(m in F)if(F.hasOwnProperty(m)){var $=F[m];m==="style"?Bt(r,$):m==="dangerouslySetInnerHTML"?($=$?$.__html:void 0,$!=null&&Je(r,$)):m==="children"?typeof $=="string"?(i!=="textarea"||$!=="")&&Ve(r,$):typeof $=="number"&&Ve(r,""+$):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(l.hasOwnProperty(m)?$!=null&&m==="onScroll"&&et("scroll",r):$!=null&&R(r,m,$,C))}switch(i){case"input":Fe(r),yt(r,u,!1);break;case"textarea":Fe(r),Nr(r);break;case"option":u.value!=null&&r.setAttribute("value",""+xe(u.value));break;case"select":r.multiple=!!u.multiple,m=u.value,m!=null?Xe(r,!!u.multiple,m,!1):u.defaultValue!=null&&Xe(r,!!u.multiple,u.defaultValue,!0);break;default:typeof p.onClick=="function"&&(r.onclick=ps)}switch(i){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return Mt(n),null;case 6:if(r&&n.stateNode!=null)yy(r,n,r.memoizedProps,u);else{if(typeof u!="string"&&n.stateNode===null)throw Error(o(166));if(i=Ao(Vi.current),Ao(en.current),ws(n)){if(u=n.stateNode,i=n.memoizedProps,u[Jr]=n,(m=u.nodeValue!==i)&&(r=fr,r!==null))switch(r.tag){case 3:ds(u.nodeValue,i,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&ds(u.nodeValue,i,(r.mode&1)!==0)}m&&(n.flags|=4)}else u=(i.nodeType===9?i:i.ownerDocument).createTextNode(u),u[Jr]=n,n.stateNode=u}return Mt(n),null;case 13:if(tt(at),u=n.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(nt&&dr!==null&&(n.mode&1)!==0&&(n.flags&128)===0)xv(),Sa(),n.flags|=98560,m=!1;else if(m=ws(n),u!==null&&u.dehydrated!==null){if(r===null){if(!m)throw Error(o(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(o(317));m[Jr]=n}else Sa(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Mt(n),m=!1}else $r!==null&&(od($r),$r=null),m=!0;if(!m)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=i,n):(u=u!==null,u!==(r!==null&&r.memoizedState!==null)&&u&&(n.child.flags|=8192,(n.mode&1)!==0&&(r===null||(at.current&1)!==0?wt===0&&(wt=3):ld())),n.updateQueue!==null&&(n.flags|=4),Mt(n),null);case 4:return _a(),Gf(r,n),r===null&&Di(n.stateNode.containerInfo),Mt(n),null;case 10:return xf(n.type._context),Mt(n),null;case 17:return Yt(n.type)&&gs(),Mt(n),null;case 19:if(tt(at),m=n.memoizedState,m===null)return Mt(n),null;if(u=(n.flags&128)!==0,C=m.rendering,C===null)if(u)Qi(m,!1);else{if(wt!==0||r!==null&&(r.flags&128)!==0)for(r=n.child;r!==null;){if(C=_s(r),C!==null){for(n.flags|=128,Qi(m,!1),u=C.updateQueue,u!==null&&(n.updateQueue=u,n.flags|=4),n.subtreeFlags=0,u=i,i=n.child;i!==null;)m=i,r=u,m.flags&=14680066,C=m.alternate,C===null?(m.childLanes=0,m.lanes=r,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=C.childLanes,m.lanes=C.lanes,m.child=C.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=C.memoizedProps,m.memoizedState=C.memoizedState,m.updateQueue=C.updateQueue,m.type=C.type,r=C.dependencies,m.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),i=i.sibling;return Ze(at,at.current&1|2),n.child}r=r.sibling}m.tail!==null&&pt()>Pa&&(n.flags|=128,u=!0,Qi(m,!1),n.lanes=4194304)}else{if(!u)if(r=_s(C),r!==null){if(n.flags|=128,u=!0,i=r.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Qi(m,!0),m.tail===null&&m.tailMode==="hidden"&&!C.alternate&&!nt)return Mt(n),null}else 2*pt()-m.renderingStartTime>Pa&&i!==1073741824&&(n.flags|=128,u=!0,Qi(m,!1),n.lanes=4194304);m.isBackwards?(C.sibling=n.child,n.child=C):(i=m.last,i!==null?i.sibling=C:n.child=C,m.last=C)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=pt(),n.sibling=null,i=at.current,Ze(at,u?i&1|2:i&1),n):(Mt(n),null);case 22:case 23:return id(),u=n.memoizedState!==null,r!==null&&r.memoizedState!==null!==u&&(n.flags|=8192),u&&(n.mode&1)!==0?(pr&1073741824)!==0&&(Mt(n),n.subtreeFlags&6&&(n.flags|=8192)):Mt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function W_(r,n){switch(gf(n),n.tag){case 1:return Yt(n.type)&&gs(),r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 3:return _a(),tt(Gt),tt(jt),Rf(),r=n.flags,(r&65536)!==0&&(r&128)===0?(n.flags=r&-65537|128,n):null;case 5:return _f(n),null;case 13:if(tt(at),r=n.memoizedState,r!==null&&r.dehydrated!==null){if(n.alternate===null)throw Error(o(340));Sa()}return r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 19:return tt(at),null;case 4:return _a(),null;case 10:return xf(n.type._context),null;case 22:case 23:return id(),null;case 24:return null;default:return null}}var Ls=!1,Dt=!1,q_=typeof WeakSet=="function"?WeakSet:Set,ge=null;function Ra(r,n){var i=r.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(u){ct(r,n,u)}else i.current=null}function Yf(r,n,i){try{i()}catch(u){ct(r,n,u)}}var by=!1;function V_(r,n){if(af=ts,r=Qm(),Qc(r)){if("selectionStart"in r)var i={start:r.selectionStart,end:r.selectionEnd};else e:{i=(i=r.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var p=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var C=0,F=-1,$=-1,X=0,ne=0,ae=r,re=null;t:for(;;){for(var pe;ae!==i||p!==0&&ae.nodeType!==3||(F=C+p),ae!==m||u!==0&&ae.nodeType!==3||($=C+u),ae.nodeType===3&&(C+=ae.nodeValue.length),(pe=ae.firstChild)!==null;)re=ae,ae=pe;for(;;){if(ae===r)break t;if(re===i&&++X===p&&(F=C),re===m&&++ne===u&&($=C),(pe=ae.nextSibling)!==null)break;ae=re,re=ae.parentNode}ae=pe}i=F===-1||$===-1?null:{start:F,end:$}}else i=null}i=i||{start:0,end:0}}else i=null;for(lf={focusedElem:r,selectionRange:i},ts=!1,ge=n;ge!==null;)if(n=ge,r=n.child,(n.subtreeFlags&1028)!==0&&r!==null)r.return=n,ge=r;else for(;ge!==null;){n=ge;try{var ye=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ye!==null){var we=ye.memoizedProps,ht=ye.memoizedState,W=n.stateNode,z=W.getSnapshotBeforeUpdate(n.elementType===n.type?we:Mr(n.type,we),ht);W.__reactInternalSnapshotBeforeUpdate=z}break;case 3:var V=n.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(le){ct(n,n.return,le)}if(r=n.sibling,r!==null){r.return=n.return,ge=r;break}ge=n.return}return ye=by,by=!1,ye}function Zi(r,n,i){var u=n.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var p=u=u.next;do{if((p.tag&r)===r){var m=p.destroy;p.destroy=void 0,m!==void 0&&Yf(n,i,m)}p=p.next}while(p!==u)}}function js(r,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&r)===r){var u=i.create;i.destroy=u()}i=i.next}while(i!==n)}}function Kf(r){var n=r.ref;if(n!==null){var i=r.stateNode;switch(r.tag){case 5:r=i;break;default:r=i}typeof n=="function"?n(r):n.current=r}}function wy(r){var n=r.alternate;n!==null&&(r.alternate=null,wy(n)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(n=r.stateNode,n!==null&&(delete n[Jr],delete n[Bi],delete n[ff],delete n[R_],delete n[A_])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function xy(r){return r.tag===5||r.tag===3||r.tag===4}function Sy(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||xy(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Xf(r,n,i){var u=r.tag;if(u===5||u===6)r=r.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(r,n):i.insertBefore(r,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(r,i)):(n=i,n.appendChild(r)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=ps));else if(u!==4&&(r=r.child,r!==null))for(Xf(r,n,i),r=r.sibling;r!==null;)Xf(r,n,i),r=r.sibling}function Qf(r,n,i){var u=r.tag;if(u===5||u===6)r=r.stateNode,n?i.insertBefore(r,n):i.appendChild(r);else if(u!==4&&(r=r.child,r!==null))for(Qf(r,n,i),r=r.sibling;r!==null;)Qf(r,n,i),r=r.sibling}var Pt=null,Dr=!1;function Xn(r,n,i){for(i=i.child;i!==null;)Ey(r,n,i),i=i.sibling}function Ey(r,n,i){if(Zr&&typeof Zr.onCommitFiberUnmount=="function")try{Zr.onCommitFiberUnmount(Kl,i)}catch{}switch(i.tag){case 5:Dt||Ra(i,n);case 6:var u=Pt,p=Dr;Pt=null,Xn(r,n,i),Pt=u,Dr=p,Pt!==null&&(Dr?(r=Pt,i=i.stateNode,r.nodeType===8?r.parentNode.removeChild(i):r.removeChild(i)):Pt.removeChild(i.stateNode));break;case 18:Pt!==null&&(Dr?(r=Pt,i=i.stateNode,r.nodeType===8?cf(r.parentNode,i):r.nodeType===1&&cf(r,i),Pi(r)):cf(Pt,i.stateNode));break;case 4:u=Pt,p=Dr,Pt=i.stateNode.containerInfo,Dr=!0,Xn(r,n,i),Pt=u,Dr=p;break;case 0:case 11:case 14:case 15:if(!Dt&&(u=i.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){p=u=u.next;do{var m=p,C=m.destroy;m=m.tag,C!==void 0&&((m&2)!==0||(m&4)!==0)&&Yf(i,n,C),p=p.next}while(p!==u)}Xn(r,n,i);break;case 1:if(!Dt&&(Ra(i,n),u=i.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=i.memoizedProps,u.state=i.memoizedState,u.componentWillUnmount()}catch(F){ct(i,n,F)}Xn(r,n,i);break;case 21:Xn(r,n,i);break;case 22:i.mode&1?(Dt=(u=Dt)||i.memoizedState!==null,Xn(r,n,i),Dt=u):Xn(r,n,i);break;default:Xn(r,n,i)}}function ky(r){var n=r.updateQueue;if(n!==null){r.updateQueue=null;var i=r.stateNode;i===null&&(i=r.stateNode=new q_),n.forEach(function(u){var p=tO.bind(null,r,u);i.has(u)||(i.add(u),u.then(p,p))})}}function zr(r,n){var i=n.deletions;if(i!==null)for(var u=0;u<i.length;u++){var p=i[u];try{var m=r,C=n,F=C;e:for(;F!==null;){switch(F.tag){case 5:Pt=F.stateNode,Dr=!1;break e;case 3:Pt=F.stateNode.containerInfo,Dr=!0;break e;case 4:Pt=F.stateNode.containerInfo,Dr=!0;break e}F=F.return}if(Pt===null)throw Error(o(160));Ey(m,C,p),Pt=null,Dr=!1;var $=p.alternate;$!==null&&($.return=null),p.return=null}catch(X){ct(p,n,X)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Cy(n,r),n=n.sibling}function Cy(r,n){var i=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(zr(n,r),rn(r),u&4){try{Zi(3,r,r.return),js(3,r)}catch(we){ct(r,r.return,we)}try{Zi(5,r,r.return)}catch(we){ct(r,r.return,we)}}break;case 1:zr(n,r),rn(r),u&512&&i!==null&&Ra(i,i.return);break;case 5:if(zr(n,r),rn(r),u&512&&i!==null&&Ra(i,i.return),r.flags&32){var p=r.stateNode;try{Ve(p,"")}catch(we){ct(r,r.return,we)}}if(u&4&&(p=r.stateNode,p!=null)){var m=r.memoizedProps,C=i!==null?i.memoizedProps:m,F=r.type,$=r.updateQueue;if(r.updateQueue=null,$!==null)try{F==="input"&&m.type==="radio"&&m.name!=null&&Le(p,m),Te(F,C);var X=Te(F,m);for(C=0;C<$.length;C+=2){var ne=$[C],ae=$[C+1];ne==="style"?Bt(p,ae):ne==="dangerouslySetInnerHTML"?Je(p,ae):ne==="children"?Ve(p,ae):R(p,ne,ae,X)}switch(F){case"input":rt(p,m);break;case"textarea":gt(p,m);break;case"select":var re=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!m.multiple;var pe=m.value;pe!=null?Xe(p,!!m.multiple,pe,!1):re!==!!m.multiple&&(m.defaultValue!=null?Xe(p,!!m.multiple,m.defaultValue,!0):Xe(p,!!m.multiple,m.multiple?[]:"",!1))}p[Bi]=m}catch(we){ct(r,r.return,we)}}break;case 6:if(zr(n,r),rn(r),u&4){if(r.stateNode===null)throw Error(o(162));p=r.stateNode,m=r.memoizedProps;try{p.nodeValue=m}catch(we){ct(r,r.return,we)}}break;case 3:if(zr(n,r),rn(r),u&4&&i!==null&&i.memoizedState.isDehydrated)try{Pi(n.containerInfo)}catch(we){ct(r,r.return,we)}break;case 4:zr(n,r),rn(r);break;case 13:zr(n,r),rn(r),p=r.child,p.flags&8192&&(m=p.memoizedState!==null,p.stateNode.isHidden=m,!m||p.alternate!==null&&p.alternate.memoizedState!==null||(ed=pt())),u&4&&ky(r);break;case 22:if(ne=i!==null&&i.memoizedState!==null,r.mode&1?(Dt=(X=Dt)||ne,zr(n,r),Dt=X):zr(n,r),rn(r),u&8192){if(X=r.memoizedState!==null,(r.stateNode.isHidden=X)&&!ne&&(r.mode&1)!==0)for(ge=r,ne=r.child;ne!==null;){for(ae=ge=ne;ge!==null;){switch(re=ge,pe=re.child,re.tag){case 0:case 11:case 14:case 15:Zi(4,re,re.return);break;case 1:Ra(re,re.return);var ye=re.stateNode;if(typeof ye.componentWillUnmount=="function"){u=re,i=re.return;try{n=u,ye.props=n.memoizedProps,ye.state=n.memoizedState,ye.componentWillUnmount()}catch(we){ct(u,i,we)}}break;case 5:Ra(re,re.return);break;case 22:if(re.memoizedState!==null){Ry(ae);continue}}pe!==null?(pe.return=re,ge=pe):Ry(ae)}ne=ne.sibling}e:for(ne=null,ae=r;;){if(ae.tag===5){if(ne===null){ne=ae;try{p=ae.stateNode,X?(m=p.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(F=ae.stateNode,$=ae.memoizedProps.style,C=$!=null&&$.hasOwnProperty("display")?$.display:null,F.style.display=Kr("display",C))}catch(we){ct(r,r.return,we)}}}else if(ae.tag===6){if(ne===null)try{ae.stateNode.nodeValue=X?"":ae.memoizedProps}catch(we){ct(r,r.return,we)}}else if((ae.tag!==22&&ae.tag!==23||ae.memoizedState===null||ae===r)&&ae.child!==null){ae.child.return=ae,ae=ae.child;continue}if(ae===r)break e;for(;ae.sibling===null;){if(ae.return===null||ae.return===r)break e;ne===ae&&(ne=null),ae=ae.return}ne===ae&&(ne=null),ae.sibling.return=ae.return,ae=ae.sibling}}break;case 19:zr(n,r),rn(r),u&4&&ky(r);break;case 21:break;default:zr(n,r),rn(r)}}function rn(r){var n=r.flags;if(n&2){try{e:{for(var i=r.return;i!==null;){if(xy(i)){var u=i;break e}i=i.return}throw Error(o(160))}switch(u.tag){case 5:var p=u.stateNode;u.flags&32&&(Ve(p,""),u.flags&=-33);var m=Sy(r);Qf(r,m,p);break;case 3:case 4:var C=u.stateNode.containerInfo,F=Sy(r);Xf(r,F,C);break;default:throw Error(o(161))}}catch($){ct(r,r.return,$)}r.flags&=-3}n&4096&&(r.flags&=-4097)}function G_(r,n,i){ge=r,_y(r)}function _y(r,n,i){for(var u=(r.mode&1)!==0;ge!==null;){var p=ge,m=p.child;if(p.tag===22&&u){var C=p.memoizedState!==null||Ls;if(!C){var F=p.alternate,$=F!==null&&F.memoizedState!==null||Dt;F=Ls;var X=Dt;if(Ls=C,(Dt=$)&&!X)for(ge=p;ge!==null;)C=ge,$=C.child,C.tag===22&&C.memoizedState!==null?Ay(p):$!==null?($.return=C,ge=$):Ay(p);for(;m!==null;)ge=m,_y(m),m=m.sibling;ge=p,Ls=F,Dt=X}Oy(r)}else(p.subtreeFlags&8772)!==0&&m!==null?(m.return=p,ge=m):Oy(r)}}function Oy(r){for(;ge!==null;){var n=ge;if((n.flags&8772)!==0){var i=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:Dt||js(5,n);break;case 1:var u=n.stateNode;if(n.flags&4&&!Dt)if(i===null)u.componentDidMount();else{var p=n.elementType===n.type?i.memoizedProps:Mr(n.type,i.memoizedProps);u.componentDidUpdate(p,i.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&Rv(n,m,u);break;case 3:var C=n.updateQueue;if(C!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}Rv(n,C,i)}break;case 5:var F=n.stateNode;if(i===null&&n.flags&4){i=F;var $=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":$.autoFocus&&i.focus();break;case"img":$.src&&(i.src=$.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var X=n.alternate;if(X!==null){var ne=X.memoizedState;if(ne!==null){var ae=ne.dehydrated;ae!==null&&Pi(ae)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}Dt||n.flags&512&&Kf(n)}catch(re){ct(n,n.return,re)}}if(n===r){ge=null;break}if(i=n.sibling,i!==null){i.return=n.return,ge=i;break}ge=n.return}}function Ry(r){for(;ge!==null;){var n=ge;if(n===r){ge=null;break}var i=n.sibling;if(i!==null){i.return=n.return,ge=i;break}ge=n.return}}function Ay(r){for(;ge!==null;){var n=ge;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{js(4,n)}catch($){ct(n,i,$)}break;case 1:var u=n.stateNode;if(typeof u.componentDidMount=="function"){var p=n.return;try{u.componentDidMount()}catch($){ct(n,p,$)}}var m=n.return;try{Kf(n)}catch($){ct(n,m,$)}break;case 5:var C=n.return;try{Kf(n)}catch($){ct(n,C,$)}}}catch($){ct(n,n.return,$)}if(n===r){ge=null;break}var F=n.sibling;if(F!==null){F.return=n.return,ge=F;break}ge=n.return}}var Y_=Math.ceil,$s=O.ReactCurrentDispatcher,Zf=O.ReactCurrentOwner,Or=O.ReactCurrentBatchConfig,ze=0,kt=null,mt=null,Tt=0,pr=0,Aa=qn(0),wt=0,Ji=null,To=0,Ms=0,Jf=0,el=null,Xt=null,ed=0,Pa=1/0,kn=null,Ds=!1,td=null,Qn=null,zs=!1,Zn=null,Bs=0,tl=0,rd=null,Hs=-1,Us=0;function Ut(){return(ze&6)!==0?pt():Hs!==-1?Hs:Hs=pt()}function Jn(r){return(r.mode&1)===0?1:(ze&2)!==0&&Tt!==0?Tt&-Tt:T_.transition!==null?(Us===0&&(Us=Sm()),Us):(r=Ge,r!==0||(r=window.event,r=r===void 0?16:Tm(r.type)),r)}function Br(r,n,i,u){if(50<tl)throw tl=0,rd=null,Error(o(185));Ci(r,i,u),((ze&2)===0||r!==kt)&&(r===kt&&((ze&2)===0&&(Ms|=i),wt===4&&eo(r,Tt)),Qt(r,u),i===1&&ze===0&&(n.mode&1)===0&&(Pa=pt()+500,vs&&Gn()))}function Qt(r,n){var i=r.callbackNode;TC(r,n);var u=Zl(r,r===kt?Tt:0);if(u===0)i!==null&&bm(i),r.callbackNode=null,r.callbackPriority=0;else if(n=u&-u,r.callbackPriority!==n){if(i!=null&&bm(i),n===1)r.tag===0?P_(Ty.bind(null,r)):mv(Ty.bind(null,r)),__(function(){(ze&6)===0&&Gn()}),i=null;else{switch(Em(u)){case 1:i=Nc;break;case 4:i=wm;break;case 16:i=Yl;break;case 536870912:i=xm;break;default:i=Yl}i=Dy(i,Py.bind(null,r))}r.callbackPriority=n,r.callbackNode=i}}function Py(r,n){if(Hs=-1,Us=0,(ze&6)!==0)throw Error(o(327));var i=r.callbackNode;if(Ta()&&r.callbackNode!==i)return null;var u=Zl(r,r===kt?Tt:0);if(u===0)return null;if((u&30)!==0||(u&r.expiredLanes)!==0||n)n=Ws(r,u);else{n=u;var p=ze;ze|=2;var m=Fy();(kt!==r||Tt!==n)&&(kn=null,Pa=pt()+500,Fo(r,n));do try{Q_();break}catch(F){Iy(r,F)}while(!0);wf(),$s.current=m,ze=p,mt!==null?n=0:(kt=null,Tt=0,n=wt)}if(n!==0){if(n===2&&(p=Lc(r),p!==0&&(u=p,n=nd(r,p))),n===1)throw i=Ji,Fo(r,0),eo(r,u),Qt(r,pt()),i;if(n===6)eo(r,u);else{if(p=r.current.alternate,(u&30)===0&&!K_(p)&&(n=Ws(r,u),n===2&&(m=Lc(r),m!==0&&(u=m,n=nd(r,m))),n===1))throw i=Ji,Fo(r,0),eo(r,u),Qt(r,pt()),i;switch(r.finishedWork=p,r.finishedLanes=u,n){case 0:case 1:throw Error(o(345));case 2:No(r,Xt,kn);break;case 3:if(eo(r,u),(u&130023424)===u&&(n=ed+500-pt(),10<n)){if(Zl(r,0)!==0)break;if(p=r.suspendedLanes,(p&u)!==u){Ut(),r.pingedLanes|=r.suspendedLanes&p;break}r.timeoutHandle=uf(No.bind(null,r,Xt,kn),n);break}No(r,Xt,kn);break;case 4:if(eo(r,u),(u&4194240)===u)break;for(n=r.eventTimes,p=-1;0<u;){var C=31-Lr(u);m=1<<C,C=n[C],C>p&&(p=C),u&=~m}if(u=p,u=pt()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Y_(u/1960))-u,10<u){r.timeoutHandle=uf(No.bind(null,r,Xt,kn),u);break}No(r,Xt,kn);break;case 5:No(r,Xt,kn);break;default:throw Error(o(329))}}}return Qt(r,pt()),r.callbackNode===i?Py.bind(null,r):null}function nd(r,n){var i=el;return r.current.memoizedState.isDehydrated&&(Fo(r,n).flags|=256),r=Ws(r,n),r!==2&&(n=Xt,Xt=i,n!==null&&od(n)),r}function od(r){Xt===null?Xt=r:Xt.push.apply(Xt,r)}function K_(r){for(var n=r;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var u=0;u<i.length;u++){var p=i[u],m=p.getSnapshot;p=p.value;try{if(!jr(m(),p))return!1}catch{return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===r)break;for(;n.sibling===null;){if(n.return===null||n.return===r)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function eo(r,n){for(n&=~Jf,n&=~Ms,r.suspendedLanes|=n,r.pingedLanes&=~n,r=r.expirationTimes;0<n;){var i=31-Lr(n),u=1<<i;r[i]=-1,n&=~u}}function Ty(r){if((ze&6)!==0)throw Error(o(327));Ta();var n=Zl(r,0);if((n&1)===0)return Qt(r,pt()),null;var i=Ws(r,n);if(r.tag!==0&&i===2){var u=Lc(r);u!==0&&(n=u,i=nd(r,u))}if(i===1)throw i=Ji,Fo(r,0),eo(r,n),Qt(r,pt()),i;if(i===6)throw Error(o(345));return r.finishedWork=r.current.alternate,r.finishedLanes=n,No(r,Xt,kn),Qt(r,pt()),null}function ad(r,n){var i=ze;ze|=1;try{return r(n)}finally{ze=i,ze===0&&(Pa=pt()+500,vs&&Gn())}}function Io(r){Zn!==null&&Zn.tag===0&&(ze&6)===0&&Ta();var n=ze;ze|=1;var i=Or.transition,u=Ge;try{if(Or.transition=null,Ge=1,r)return r()}finally{Ge=u,Or.transition=i,ze=n,(ze&6)===0&&Gn()}}function id(){pr=Aa.current,tt(Aa)}function Fo(r,n){r.finishedWork=null,r.finishedLanes=0;var i=r.timeoutHandle;if(i!==-1&&(r.timeoutHandle=-1,C_(i)),mt!==null)for(i=mt.return;i!==null;){var u=i;switch(gf(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&gs();break;case 3:_a(),tt(Gt),tt(jt),Rf();break;case 5:_f(u);break;case 4:_a();break;case 13:tt(at);break;case 19:tt(at);break;case 10:xf(u.type._context);break;case 22:case 23:id()}i=i.return}if(kt=r,mt=r=to(r.current,null),Tt=pr=n,wt=0,Ji=null,Jf=Ms=To=0,Xt=el=null,Ro!==null){for(n=0;n<Ro.length;n++)if(i=Ro[n],u=i.interleaved,u!==null){i.interleaved=null;var p=u.next,m=i.pending;if(m!==null){var C=m.next;m.next=p,u.next=C}i.pending=u}Ro=null}return r}function Iy(r,n){do{var i=mt;try{if(wf(),Os.current=Ts,Rs){for(var u=it.memoizedState;u!==null;){var p=u.queue;p!==null&&(p.pending=null),u=u.next}Rs=!1}if(Po=0,Et=bt=it=null,Gi=!1,Yi=0,Zf.current=null,i===null||i.return===null){wt=1,Ji=n,mt=null;break}e:{var m=r,C=i.return,F=i,$=n;if(n=Tt,F.flags|=32768,$!==null&&typeof $=="object"&&typeof $.then=="function"){var X=$,ne=F,ae=ne.tag;if((ne.mode&1)===0&&(ae===0||ae===11||ae===15)){var re=ne.alternate;re?(ne.updateQueue=re.updateQueue,ne.memoizedState=re.memoizedState,ne.lanes=re.lanes):(ne.updateQueue=null,ne.memoizedState=null)}var pe=ny(C);if(pe!==null){pe.flags&=-257,oy(pe,C,F,m,n),pe.mode&1&&ry(m,X,n),n=pe,$=X;var ye=n.updateQueue;if(ye===null){var we=new Set;we.add($),n.updateQueue=we}else ye.add($);break e}else{if((n&1)===0){ry(m,X,n),ld();break e}$=Error(o(426))}}else if(nt&&F.mode&1){var ht=ny(C);if(ht!==null){(ht.flags&65536)===0&&(ht.flags|=256),oy(ht,C,F,m,n),yf(Oa($,F));break e}}m=$=Oa($,F),wt!==4&&(wt=2),el===null?el=[m]:el.push(m),m=C;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var W=ey(m,$,n);Ov(m,W);break e;case 1:F=$;var z=m.type,V=m.stateNode;if((m.flags&128)===0&&(typeof z.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(Qn===null||!Qn.has(V)))){m.flags|=65536,n&=-n,m.lanes|=n;var le=ty(m,F,n);Ov(m,le);break e}}m=m.return}while(m!==null)}Ly(i)}catch(Se){n=Se,mt===i&&i!==null&&(mt=i=i.return);continue}break}while(!0)}function Fy(){var r=$s.current;return $s.current=Ts,r===null?Ts:r}function ld(){(wt===0||wt===3||wt===2)&&(wt=4),kt===null||(To&268435455)===0&&(Ms&268435455)===0||eo(kt,Tt)}function Ws(r,n){var i=ze;ze|=2;var u=Fy();(kt!==r||Tt!==n)&&(kn=null,Fo(r,n));do try{X_();break}catch(p){Iy(r,p)}while(!0);if(wf(),ze=i,$s.current=u,mt!==null)throw Error(o(261));return kt=null,Tt=0,wt}function X_(){for(;mt!==null;)Ny(mt)}function Q_(){for(;mt!==null&&!SC();)Ny(mt)}function Ny(r){var n=My(r.alternate,r,pr);r.memoizedProps=r.pendingProps,n===null?Ly(r):mt=n,Zf.current=null}function Ly(r){var n=r;do{var i=n.alternate;if(r=n.return,(n.flags&32768)===0){if(i=U_(i,n,pr),i!==null){mt=i;return}}else{if(i=W_(i,n),i!==null){i.flags&=32767,mt=i;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{wt=6,mt=null;return}}if(n=n.sibling,n!==null){mt=n;return}mt=n=r}while(n!==null);wt===0&&(wt=5)}function No(r,n,i){var u=Ge,p=Or.transition;try{Or.transition=null,Ge=1,Z_(r,n,i,u)}finally{Or.transition=p,Ge=u}return null}function Z_(r,n,i,u){do Ta();while(Zn!==null);if((ze&6)!==0)throw Error(o(327));i=r.finishedWork;var p=r.finishedLanes;if(i===null)return null;if(r.finishedWork=null,r.finishedLanes=0,i===r.current)throw Error(o(177));r.callbackNode=null,r.callbackPriority=0;var m=i.lanes|i.childLanes;if(IC(r,m),r===kt&&(mt=kt=null,Tt=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||zs||(zs=!0,Dy(Yl,function(){return Ta(),null})),m=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||m){m=Or.transition,Or.transition=null;var C=Ge;Ge=1;var F=ze;ze|=4,Zf.current=null,V_(r,i),Cy(i,r),y_(lf),ts=!!af,lf=af=null,r.current=i,G_(i),EC(),ze=F,Ge=C,Or.transition=m}else r.current=i;if(zs&&(zs=!1,Zn=r,Bs=p),m=r.pendingLanes,m===0&&(Qn=null),_C(i.stateNode),Qt(r,pt()),n!==null)for(u=r.onRecoverableError,i=0;i<n.length;i++)p=n[i],u(p.value,{componentStack:p.stack,digest:p.digest});if(Ds)throw Ds=!1,r=td,td=null,r;return(Bs&1)!==0&&r.tag!==0&&Ta(),m=r.pendingLanes,(m&1)!==0?r===rd?tl++:(tl=0,rd=r):tl=0,Gn(),null}function Ta(){if(Zn!==null){var r=Em(Bs),n=Or.transition,i=Ge;try{if(Or.transition=null,Ge=16>r?16:r,Zn===null)var u=!1;else{if(r=Zn,Zn=null,Bs=0,(ze&6)!==0)throw Error(o(331));var p=ze;for(ze|=4,ge=r.current;ge!==null;){var m=ge,C=m.child;if((ge.flags&16)!==0){var F=m.deletions;if(F!==null){for(var $=0;$<F.length;$++){var X=F[$];for(ge=X;ge!==null;){var ne=ge;switch(ne.tag){case 0:case 11:case 15:Zi(8,ne,m)}var ae=ne.child;if(ae!==null)ae.return=ne,ge=ae;else for(;ge!==null;){ne=ge;var re=ne.sibling,pe=ne.return;if(wy(ne),ne===X){ge=null;break}if(re!==null){re.return=pe,ge=re;break}ge=pe}}}var ye=m.alternate;if(ye!==null){var we=ye.child;if(we!==null){ye.child=null;do{var ht=we.sibling;we.sibling=null,we=ht}while(we!==null)}}ge=m}}if((m.subtreeFlags&2064)!==0&&C!==null)C.return=m,ge=C;else e:for(;ge!==null;){if(m=ge,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:Zi(9,m,m.return)}var W=m.sibling;if(W!==null){W.return=m.return,ge=W;break e}ge=m.return}}var z=r.current;for(ge=z;ge!==null;){C=ge;var V=C.child;if((C.subtreeFlags&2064)!==0&&V!==null)V.return=C,ge=V;else e:for(C=z;ge!==null;){if(F=ge,(F.flags&2048)!==0)try{switch(F.tag){case 0:case 11:case 15:js(9,F)}}catch(Se){ct(F,F.return,Se)}if(F===C){ge=null;break e}var le=F.sibling;if(le!==null){le.return=F.return,ge=le;break e}ge=F.return}}if(ze=p,Gn(),Zr&&typeof Zr.onPostCommitFiberRoot=="function")try{Zr.onPostCommitFiberRoot(Kl,r)}catch{}u=!0}return u}finally{Ge=i,Or.transition=n}}return!1}function jy(r,n,i){n=Oa(i,n),n=ey(r,n,1),r=Kn(r,n,1),n=Ut(),r!==null&&(Ci(r,1,n),Qt(r,n))}function ct(r,n,i){if(r.tag===3)jy(r,r,i);else for(;n!==null;){if(n.tag===3){jy(n,r,i);break}else if(n.tag===1){var u=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Qn===null||!Qn.has(u))){r=Oa(i,r),r=ty(n,r,1),n=Kn(n,r,1),r=Ut(),n!==null&&(Ci(n,1,r),Qt(n,r));break}}n=n.return}}function J_(r,n,i){var u=r.pingCache;u!==null&&u.delete(n),n=Ut(),r.pingedLanes|=r.suspendedLanes&i,kt===r&&(Tt&i)===i&&(wt===4||wt===3&&(Tt&130023424)===Tt&&500>pt()-ed?Fo(r,0):Jf|=i),Qt(r,n)}function $y(r,n){n===0&&((r.mode&1)===0?n=1:(n=Ql,Ql<<=1,(Ql&130023424)===0&&(Ql=4194304)));var i=Ut();r=xn(r,n),r!==null&&(Ci(r,n,i),Qt(r,i))}function eO(r){var n=r.memoizedState,i=0;n!==null&&(i=n.retryLane),$y(r,i)}function tO(r,n){var i=0;switch(r.tag){case 13:var u=r.stateNode,p=r.memoizedState;p!==null&&(i=p.retryLane);break;case 19:u=r.stateNode;break;default:throw Error(o(314))}u!==null&&u.delete(n),$y(r,i)}var My;My=function(r,n,i){if(r!==null)if(r.memoizedProps!==n.pendingProps||Gt.current)Kt=!0;else{if((r.lanes&i)===0&&(n.flags&128)===0)return Kt=!1,H_(r,n,i);Kt=(r.flags&131072)!==0}else Kt=!1,nt&&(n.flags&1048576)!==0&&vv(n,bs,n.index);switch(n.lanes=0,n.tag){case 2:var u=n.type;Ns(r,n),r=n.pendingProps;var p=ba(n,jt.current);Ca(n,i),p=Tf(null,n,u,r,p,i);var m=If();return n.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Yt(u)?(m=!0,ms(n)):m=!1,n.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,kf(n),p.updater=Is,n.stateNode=p,p._reactInternals=n,Mf(n,u,r,i),n=Hf(null,n,u,!0,m,i)):(n.tag=0,nt&&m&&hf(n),Ht(null,n,p,i),n=n.child),n;case 16:u=n.elementType;e:{switch(Ns(r,n),r=n.pendingProps,p=u._init,u=p(u._payload),n.type=u,p=n.tag=nO(u),r=Mr(u,r),p){case 0:n=Bf(null,n,u,r,i);break e;case 1:n=cy(null,n,u,r,i);break e;case 11:n=ay(null,n,u,r,i);break e;case 14:n=iy(null,n,u,Mr(u.type,r),i);break e}throw Error(o(306,u,""))}return n;case 0:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:Mr(u,p),Bf(r,n,u,p,i);case 1:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:Mr(u,p),cy(r,n,u,p,i);case 3:e:{if(fy(n),r===null)throw Error(o(387));u=n.pendingProps,m=n.memoizedState,p=m.element,_v(r,n),Cs(n,u,null,i);var C=n.memoizedState;if(u=C.element,m.isDehydrated)if(m={element:u,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){p=Oa(Error(o(423)),n),n=dy(r,n,u,i,p);break e}else if(u!==p){p=Oa(Error(o(424)),n),n=dy(r,n,u,i,p);break e}else for(dr=Wn(n.stateNode.containerInfo.firstChild),fr=n,nt=!0,$r=null,i=kv(n,null,u,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Sa(),u===p){n=En(r,n,i);break e}Ht(r,n,u,i)}n=n.child}return n;case 5:return Av(n),r===null&&vf(n),u=n.type,p=n.pendingProps,m=r!==null?r.memoizedProps:null,C=p.children,sf(u,p)?C=null:m!==null&&sf(u,m)&&(n.flags|=32),uy(r,n),Ht(r,n,C,i),n.child;case 6:return r===null&&vf(n),null;case 13:return py(r,n,i);case 4:return Cf(n,n.stateNode.containerInfo),u=n.pendingProps,r===null?n.child=Ea(n,null,u,i):Ht(r,n,u,i),n.child;case 11:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:Mr(u,p),ay(r,n,u,p,i);case 7:return Ht(r,n,n.pendingProps,i),n.child;case 8:return Ht(r,n,n.pendingProps.children,i),n.child;case 12:return Ht(r,n,n.pendingProps.children,i),n.child;case 10:e:{if(u=n.type._context,p=n.pendingProps,m=n.memoizedProps,C=p.value,Ze(Ss,u._currentValue),u._currentValue=C,m!==null)if(jr(m.value,C)){if(m.children===p.children&&!Gt.current){n=En(r,n,i);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var F=m.dependencies;if(F!==null){C=m.child;for(var $=F.firstContext;$!==null;){if($.context===u){if(m.tag===1){$=Sn(-1,i&-i),$.tag=2;var X=m.updateQueue;if(X!==null){X=X.shared;var ne=X.pending;ne===null?$.next=$:($.next=ne.next,ne.next=$),X.pending=$}}m.lanes|=i,$=m.alternate,$!==null&&($.lanes|=i),Sf(m.return,i,n),F.lanes|=i;break}$=$.next}}else if(m.tag===10)C=m.type===n.type?null:m.child;else if(m.tag===18){if(C=m.return,C===null)throw Error(o(341));C.lanes|=i,F=C.alternate,F!==null&&(F.lanes|=i),Sf(C,i,n),C=m.sibling}else C=m.child;if(C!==null)C.return=m;else for(C=m;C!==null;){if(C===n){C=null;break}if(m=C.sibling,m!==null){m.return=C.return,C=m;break}C=C.return}m=C}Ht(r,n,p.children,i),n=n.child}return n;case 9:return p=n.type,u=n.pendingProps.children,Ca(n,i),p=Cr(p),u=u(p),n.flags|=1,Ht(r,n,u,i),n.child;case 14:return u=n.type,p=Mr(u,n.pendingProps),p=Mr(u.type,p),iy(r,n,u,p,i);case 15:return ly(r,n,n.type,n.pendingProps,i);case 17:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:Mr(u,p),Ns(r,n),n.tag=1,Yt(u)?(r=!0,ms(n)):r=!1,Ca(n,i),Zv(n,u,p),Mf(n,u,p,i),Hf(null,n,u,!0,r,i);case 19:return gy(r,n,i);case 22:return sy(r,n,i)}throw Error(o(156,n.tag))};function Dy(r,n){return Ei(r,n)}function rO(r,n,i,u){this.tag=r,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rr(r,n,i,u){return new rO(r,n,i,u)}function sd(r){return r=r.prototype,!(!r||!r.isReactComponent)}function nO(r){if(typeof r=="function")return sd(r)?1:0;if(r!=null){if(r=r.$$typeof,r===ee)return 11;if(r===ie)return 14}return 2}function to(r,n){var i=r.alternate;return i===null?(i=Rr(r.tag,n,r.key,r.mode),i.elementType=r.elementType,i.type=r.type,i.stateNode=r.stateNode,i.alternate=r,r.alternate=i):(i.pendingProps=n,i.type=r.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=r.flags&14680064,i.childLanes=r.childLanes,i.lanes=r.lanes,i.child=r.child,i.memoizedProps=r.memoizedProps,i.memoizedState=r.memoizedState,i.updateQueue=r.updateQueue,n=r.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=r.sibling,i.index=r.index,i.ref=r.ref,i}function qs(r,n,i,u,p,m){var C=2;if(u=r,typeof r=="function")sd(r)&&(C=1);else if(typeof r=="string")C=5;else e:switch(r){case T:return Lo(i.children,p,m,n);case N:C=8,p|=8;break;case B:return r=Rr(12,i,n,p|2),r.elementType=B,r.lanes=m,r;case se:return r=Rr(13,i,n,p),r.elementType=se,r.lanes=m,r;case be:return r=Rr(19,i,n,p),r.elementType=be,r.lanes=m,r;case de:return Vs(i,p,m,n);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case M:C=10;break e;case G:C=9;break e;case ee:C=11;break e;case ie:C=14;break e;case he:C=16,u=null;break e}throw Error(o(130,r==null?r:typeof r,""))}return n=Rr(C,i,n,p),n.elementType=r,n.type=u,n.lanes=m,n}function Lo(r,n,i,u){return r=Rr(7,r,u,n),r.lanes=i,r}function Vs(r,n,i,u){return r=Rr(22,r,u,n),r.elementType=de,r.lanes=i,r.stateNode={isHidden:!1},r}function ud(r,n,i){return r=Rr(6,r,null,n),r.lanes=i,r}function cd(r,n,i){return n=Rr(4,r.children!==null?r.children:[],r.key,n),n.lanes=i,n.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},n}function oO(r,n,i,u,p){this.tag=n,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=jc(0),this.expirationTimes=jc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jc(0),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function fd(r,n,i,u,p,m,C,F,$){return r=new oO(r,n,i,F,$),n===1?(n=1,m===!0&&(n|=8)):n=0,m=Rr(3,null,null,n),r.current=m,m.stateNode=r,m.memoizedState={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},kf(m),r}function aO(r,n,i){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I,key:u==null?null:""+u,children:r,containerInfo:n,implementation:i}}function zy(r){if(!r)return Vn;r=r._reactInternals;e:{if(Qr(r)!==r||r.tag!==1)throw Error(o(170));var n=r;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Yt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(r.tag===1){var i=r.type;if(Yt(i))return hv(r,i,n)}return n}function By(r,n,i,u,p,m,C,F,$){return r=fd(i,u,!0,r,p,m,C,F,$),r.context=zy(null),i=r.current,u=Ut(),p=Jn(i),m=Sn(u,p),m.callback=n??null,Kn(i,m,p),r.current.lanes=p,Ci(r,p,u),Qt(r,u),r}function Gs(r,n,i,u){var p=n.current,m=Ut(),C=Jn(p);return i=zy(i),n.context===null?n.context=i:n.pendingContext=i,n=Sn(m,C),n.payload={element:r},u=u===void 0?null:u,u!==null&&(n.callback=u),r=Kn(p,n,C),r!==null&&(Br(r,p,C,m),ks(r,p,C)),C}function Ys(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Hy(r,n){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var i=r.retryLane;r.retryLane=i!==0&&i<n?i:n}}function dd(r,n){Hy(r,n),(r=r.alternate)&&Hy(r,n)}function iO(){return null}var Uy=typeof reportError=="function"?reportError:function(r){console.error(r)};function pd(r){this._internalRoot=r}Ks.prototype.render=pd.prototype.render=function(r){var n=this._internalRoot;if(n===null)throw Error(o(409));Gs(r,n,null,null)},Ks.prototype.unmount=pd.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var n=r.containerInfo;Io(function(){Gs(null,r,null,null)}),n[vn]=null}};function Ks(r){this._internalRoot=r}Ks.prototype.unstable_scheduleHydration=function(r){if(r){var n=_m();r={blockedOn:null,target:r,priority:n};for(var i=0;i<Bn.length&&n!==0&&n<Bn[i].priority;i++);Bn.splice(i,0,r),i===0&&Am(r)}};function hd(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Xs(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Wy(){}function lO(r,n,i,u,p){if(p){if(typeof u=="function"){var m=u;u=function(){var X=Ys(C);m.call(X)}}var C=By(n,u,r,0,null,!1,!1,"",Wy);return r._reactRootContainer=C,r[vn]=C.current,Di(r.nodeType===8?r.parentNode:r),Io(),C}for(;p=r.lastChild;)r.removeChild(p);if(typeof u=="function"){var F=u;u=function(){var X=Ys($);F.call(X)}}var $=fd(r,0,!1,null,null,!1,!1,"",Wy);return r._reactRootContainer=$,r[vn]=$.current,Di(r.nodeType===8?r.parentNode:r),Io(function(){Gs(n,$,i,u)}),$}function Qs(r,n,i,u,p){var m=i._reactRootContainer;if(m){var C=m;if(typeof p=="function"){var F=p;p=function(){var $=Ys(C);F.call($)}}Gs(n,C,r,p)}else C=lO(i,n,r,p,u);return Ys(C)}km=function(r){switch(r.tag){case 3:var n=r.stateNode;if(n.current.memoizedState.isDehydrated){var i=ki(n.pendingLanes);i!==0&&($c(n,i|1),Qt(n,pt()),(ze&6)===0&&(Pa=pt()+500,Gn()))}break;case 13:Io(function(){var u=xn(r,1);if(u!==null){var p=Ut();Br(u,r,1,p)}}),dd(r,1)}},Mc=function(r){if(r.tag===13){var n=xn(r,134217728);if(n!==null){var i=Ut();Br(n,r,134217728,i)}dd(r,134217728)}},Cm=function(r){if(r.tag===13){var n=Jn(r),i=xn(r,n);if(i!==null){var u=Ut();Br(i,r,n,u)}dd(r,n)}},_m=function(){return Ge},Om=function(r,n){var i=Ge;try{return Ge=r,n()}finally{Ge=i}},Re=function(r,n,i){switch(n){case"input":if(rt(r,i),n=i.name,i.type==="radio"&&n!=null){for(i=r;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<i.length;n++){var u=i[n];if(u!==r&&u.form===r.form){var p=hs(u);if(!p)throw Error(o(90));Ie(u),rt(u,p)}}}break;case"textarea":gt(r,i);break;case"select":n=i.value,n!=null&&Xe(r,!!i.multiple,n,!1)}},Sr=ad,At=Io;var sO={usingClientEntryPoint:!1,Events:[Hi,va,hs,ur,pn,ad]},rl={findFiberByHostInstance:ko,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},uO={bundleType:rl.bundleType,version:rl.version,rendererPackageName:rl.rendererPackageName,rendererConfig:rl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Eo(r),r===null?null:r.stateNode},findFiberByHostInstance:rl.findFiberByHostInstance||iO,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zs.isDisabled&&Zs.supportsFiber)try{Kl=Zs.inject(uO),Zr=Zs}catch{}}return Zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sO,Zt.createPortal=function(r,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hd(n))throw Error(o(200));return aO(r,n,null,i)},Zt.createRoot=function(r,n){if(!hd(r))throw Error(o(299));var i=!1,u="",p=Uy;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(p=n.onRecoverableError)),n=fd(r,1,!1,null,null,i,!1,u,p),r[vn]=n.current,Di(r.nodeType===8?r.parentNode:r),new pd(n)},Zt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var n=r._reactInternals;if(n===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=Eo(n),r=r===null?null:r.stateNode,r},Zt.flushSync=function(r){return Io(r)},Zt.hydrate=function(r,n,i){if(!Xs(n))throw Error(o(200));return Qs(null,r,n,!0,i)},Zt.hydrateRoot=function(r,n,i){if(!hd(r))throw Error(o(405));var u=i!=null&&i.hydratedSources||null,p=!1,m="",C=Uy;if(i!=null&&(i.unstable_strictMode===!0&&(p=!0),i.identifierPrefix!==void 0&&(m=i.identifierPrefix),i.onRecoverableError!==void 0&&(C=i.onRecoverableError)),n=By(n,null,r,1,i??null,p,!1,m,C),r[vn]=n.current,Di(r),u)for(r=0;r<u.length;r++)i=u[r],p=i._getVersion,p=p(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,p]:n.mutableSourceEagerHydrationData.push(i,p);return new Ks(n)},Zt.render=function(r,n,i){if(!Xs(n))throw Error(o(200));return Qs(null,r,n,!1,i)},Zt.unmountComponentAtNode=function(r){if(!Xs(r))throw Error(o(40));return r._reactRootContainer?(Io(function(){Qs(null,null,r,!1,function(){r._reactRootContainer=null,r[vn]=null})}),!0):!1},Zt.unstable_batchedUpdates=ad,Zt.unstable_renderSubtreeIntoContainer=function(r,n,i,u){if(!Xs(i))throw Error(o(200));if(r==null||r._reactInternals===void 0)throw Error(o(38));return Qs(r,n,i,!1,u)},Zt.version="18.3.1-next-f1338f8080-20240426",Zt}var Jy;function aw(){if(Jy)return vd.exports;Jy=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),vd.exports=wO(),vd.exports}var e0;function xO(){if(e0)return Js;e0=1;var e=aw();return Js.createRoot=e.createRoot,Js.hydrateRoot=e.hydrateRoot,Js}var SO=xO(),iw=Symbol.for("immer-nothing"),t0=Symbol.for("immer-draftable"),vr=Symbol.for("immer-state");function Wr(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ka=Object.getPrototypeOf;function Xa(e){return!!e&&!!e[vr]}function qo(e){var t;return e?lw(e)||Array.isArray(e)||!!e[t0]||!!((t=e.constructor)!=null&&t[t0])||Ku(e)||Xu(e):!1}var EO=Object.prototype.constructor.toString();function lw(e){if(!e||typeof e!="object")return!1;const t=Ka(e);if(t===null)return!0;const o=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return o===Object?!0:typeof o=="function"&&Function.toString.call(o)===EO}function Cu(e,t){Yu(e)===0?Reflect.ownKeys(e).forEach(o=>{t(o,e[o],e)}):e.forEach((o,a)=>t(a,o,e))}function Yu(e){const t=e[vr];return t?t.type_:Array.isArray(e)?1:Ku(e)?2:Xu(e)?3:0}function qp(e,t){return Yu(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function sw(e,t,o){const a=Yu(e);a===2?e.set(t,o):a===3?e.add(o):e[t]=o}function kO(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ku(e){return e instanceof Map}function Xu(e){return e instanceof Set}function $o(e){return e.copy_||e.base_}function Vp(e,t){if(Ku(e))return new Map(e);if(Xu(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const o=lw(e);if(t===!0||t==="class_only"&&!o){const a=Object.getOwnPropertyDescriptors(e);delete a[vr];let l=Reflect.ownKeys(a);for(let s=0;s<l.length;s++){const f=l[s],c=a[f];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(a[f]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[f]})}return Object.create(Ka(e),a)}else{const a=Ka(e);if(a!==null&&o)return{...e};const l=Object.create(a);return Object.assign(l,e)}}function Cl(e,t=!1){return Qu(e)||Xa(e)||!qo(e)||(Yu(e)>1&&(e.set=e.add=e.clear=e.delete=CO),Object.freeze(e),t&&Object.entries(e).forEach(([o,a])=>Cl(a,!0))),e}function CO(){Wr(2)}function Qu(e){return Object.isFrozen(e)}var _O={};function Vo(e){const t=_O[e];return t||Wr(0,e),t}var _l;function uw(){return _l}function OO(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function r0(e,t){t&&(Vo("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Gp(e){Yp(e),e.drafts_.forEach(RO),e.drafts_=null}function Yp(e){e===_l&&(_l=e.parent_)}function n0(e){return _l=OO(_l,e)}function RO(e){const t=e[vr];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function o0(e,t){t.unfinalizedDrafts_=t.drafts_.length;const o=t.drafts_[0];return e!==void 0&&e!==o?(o[vr].modified_&&(Gp(t),Wr(4)),qo(e)&&(e=_u(t,e),t.parent_||Ou(t,e)),t.patches_&&Vo("Patches").generateReplacementPatches_(o[vr].base_,e,t.patches_,t.inversePatches_)):e=_u(t,o,[]),Gp(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==iw?e:void 0}function _u(e,t,o){if(Qu(t))return t;const a=t[vr];if(!a)return Cu(t,(l,s)=>a0(e,a,t,l,s,o)),t;if(a.scope_!==e)return t;if(!a.modified_)return Ou(e,a.base_,!0),a.base_;if(!a.finalized_){a.finalized_=!0,a.scope_.unfinalizedDrafts_--;const l=a.copy_;let s=l,f=!1;a.type_===3&&(s=new Set(l),l.clear(),f=!0),Cu(s,(c,d)=>a0(e,a,l,c,d,o,f)),Ou(e,l,!1),o&&e.patches_&&Vo("Patches").generatePatches_(a,o,e.patches_,e.inversePatches_)}return a.copy_}function a0(e,t,o,a,l,s,f){if(Xa(l)){const c=s&&t&&t.type_!==3&&!qp(t.assigned_,a)?s.concat(a):void 0,d=_u(e,l,c);if(sw(o,a,d),Xa(d))e.canAutoFreeze_=!1;else return}else f&&o.add(l);if(qo(l)&&!Qu(l)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_u(e,l),(!t||!t.scope_.parent_)&&typeof a!="symbol"&&Object.prototype.propertyIsEnumerable.call(o,a)&&Ou(e,l)}}function Ou(e,t,o=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Cl(t,o)}function AO(e,t){const o=Array.isArray(e),a={type_:o?1:0,scope_:t?t.scope_:uw(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=a,s=Yh;o&&(l=[a],s=Ol);const{revoke:f,proxy:c}=Proxy.revocable(l,s);return a.draft_=c,a.revoke_=f,c}var Yh={get(e,t){if(t===vr)return e;const o=$o(e);if(!qp(o,t))return PO(e,o,t);const a=o[t];return e.finalized_||!qo(a)?a:a===wd(e.base_,t)?(xd(e),e.copy_[t]=Xp(a,e)):a},has(e,t){return t in $o(e)},ownKeys(e){return Reflect.ownKeys($o(e))},set(e,t,o){const a=cw($o(e),t);if(a!=null&&a.set)return a.set.call(e.draft_,o),!0;if(!e.modified_){const l=wd($o(e),t),s=l==null?void 0:l[vr];if(s&&s.base_===o)return e.copy_[t]=o,e.assigned_[t]=!1,!0;if(kO(o,l)&&(o!==void 0||qp(e.base_,t)))return!0;xd(e),Kp(e)}return e.copy_[t]===o&&(o!==void 0||t in e.copy_)||Number.isNaN(o)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=o,e.assigned_[t]=!0),!0},deleteProperty(e,t){return wd(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,xd(e),Kp(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const o=$o(e),a=Reflect.getOwnPropertyDescriptor(o,t);return a&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:a.enumerable,value:o[t]}},defineProperty(){Wr(11)},getPrototypeOf(e){return Ka(e.base_)},setPrototypeOf(){Wr(12)}},Ol={};Cu(Yh,(e,t)=>{Ol[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ol.deleteProperty=function(e,t){return Ol.set.call(this,e,t,void 0)};Ol.set=function(e,t,o){return Yh.set.call(this,e[0],t,o,e[0])};function wd(e,t){const o=e[vr];return(o?$o(o):e)[t]}function PO(e,t,o){var l;const a=cw(t,o);return a?"value"in a?a.value:(l=a.get)==null?void 0:l.call(e.draft_):void 0}function cw(e,t){if(!(t in e))return;let o=Ka(e);for(;o;){const a=Object.getOwnPropertyDescriptor(o,t);if(a)return a;o=Ka(o)}}function Kp(e){e.modified_||(e.modified_=!0,e.parent_&&Kp(e.parent_))}function xd(e){e.copy_||(e.copy_=Vp(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var TO=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,o,a)=>{if(typeof t=="function"&&typeof o!="function"){const s=o;o=t;const f=this;return function(d=s,...h){return f.produce(d,y=>o.call(this,y,...h))}}typeof o!="function"&&Wr(6),a!==void 0&&typeof a!="function"&&Wr(7);let l;if(qo(t)){const s=n0(this),f=Xp(t,void 0);let c=!0;try{l=o(f),c=!1}finally{c?Gp(s):Yp(s)}return r0(s,a),o0(l,s)}else if(!t||typeof t!="object"){if(l=o(t),l===void 0&&(l=t),l===iw&&(l=void 0),this.autoFreeze_&&Cl(l,!0),a){const s=[],f=[];Vo("Patches").generateReplacementPatches_(t,l,s,f),a(s,f)}return l}else Wr(1,t)},this.produceWithPatches=(t,o)=>{if(typeof t=="function")return(f,...c)=>this.produceWithPatches(f,d=>t(d,...c));let a,l;return[this.produce(t,o,(f,c)=>{a=f,l=c}),a,l]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){qo(e)||Wr(8),Xa(e)&&(e=IO(e));const t=n0(this),o=Xp(e,void 0);return o[vr].isManual_=!0,Yp(t),o}finishDraft(e,t){const o=e&&e[vr];(!o||!o.isManual_)&&Wr(9);const{scope_:a}=o;return r0(a,t),o0(void 0,a)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let o;for(o=t.length-1;o>=0;o--){const l=t[o];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}o>-1&&(t=t.slice(o+1));const a=Vo("Patches").applyPatches_;return Xa(e)?a(e,t):this.produce(e,l=>a(l,t))}};function Xp(e,t){const o=Ku(e)?Vo("MapSet").proxyMap_(e,t):Xu(e)?Vo("MapSet").proxySet_(e,t):AO(e,t);return(t?t.scope_:uw()).drafts_.push(o),o}function IO(e){return Xa(e)||Wr(10,e),fw(e)}function fw(e){if(!qo(e)||Qu(e))return e;const t=e[vr];let o;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,o=Vp(e,t.scope_.immer_.useStrictShallowCopy_)}else o=Vp(e,!0);return Cu(o,(a,l)=>{sw(o,a,fw(l))}),t&&(t.finalized_=!1),o}var yr=new TO,FO=yr.produce;yr.produceWithPatches.bind(yr);yr.setAutoFreeze.bind(yr);yr.setUseStrictShallowCopy.bind(yr);yr.applyPatches.bind(yr);yr.createDraft.bind(yr);yr.finishDraft.bind(yr);function NO(e){var t=w.useState(function(){return Cl(typeof e=="function"?e():e,!0)}),o=t[1];return[t[0],w.useCallback(function(a){o(typeof a=="function"?FO(a):Cl(a))},[])]}var Ll=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),LO=Object.defineProperty,ao=(e,t)=>LO(e,"name",{value:t,configurable:!0}),{LOGLEVEL:jO}=Ll,io={trace:1,debug:2,info:3,warn:4,error:5,silent:10},$O=jO,Ia=io[$O]||io.info,Qa={trace:ao((e,...t)=>{Ia<=io.trace&&console.trace(e,...t)},"trace"),debug:ao((e,...t)=>{Ia<=io.debug&&console.debug(e,...t)},"debug"),info:ao((e,...t)=>{Ia<=io.info&&console.info(e,...t)},"info"),warn:ao((e,...t)=>{Ia<=io.warn&&console.warn(e,...t)},"warn"),error:ao((e,...t)=>{Ia<=io.error&&console.error(e,...t)},"error"),log:ao((e,...t)=>{Ia<io.silent&&console.log(e,...t)},"log")},Qp=new Set,nr=ao(e=>(t,...o)=>{if(!Qp.has(t))return Qp.add(t),Qa[e](t,...o)},"once");nr.clear=()=>Qp.clear();nr.trace=nr("trace");nr.debug=nr("debug");nr.info=nr("info");nr.warn=nr("warn");nr.error=nr("error");nr.log=nr("log");nr("warn");var cn=ao(e=>(...t)=>{let o=[];if(t.length){let a=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,l=/<\/span>/gi,s;for(o.push(t[0].replace(a,"%c").replace(l,"%c"));s=a.exec(t[0]);)o.push(s[2]),o.push("");for(let f=1;f<t.length;f++)o.push(t[f])}Qa[e].apply(Qa,o)},"pretty");cn.trace=cn("trace");cn.debug=cn("debug");cn.info=cn("info");cn.warn=cn("warn");cn.error=cn("error");var MO=Object.create,Kh=Object.defineProperty,DO=Object.getOwnPropertyDescriptor,zO=Object.getOwnPropertyNames,BO=Object.getPrototypeOf,HO=Object.prototype.hasOwnProperty,H=(e,t)=>Kh(e,"name",{value:t,configurable:!0}),eu=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Zu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UO=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of zO(t))!HO.call(e,l)&&l!==o&&Kh(e,l,{get:()=>t[l],enumerable:!(a=DO(t,l))||a.enumerable});return e},Xh=(e,t,o)=>(o=e!=null?MO(BO(e)):{},UO(t||!e||!e.__esModule?Kh(o,"default",{value:e,enumerable:!0}):o,e)),WO=Zu(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,o=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,f=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,d=t?Symbol.for("react.context"):60110,h=t?Symbol.for("react.async_mode"):60111,y=t?Symbol.for("react.concurrent_mode"):60111,b=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,x=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,S=t?Symbol.for("react.lazy"):60116,k=t?Symbol.for("react.block"):60121,_=t?Symbol.for("react.fundamental"):60117,A=t?Symbol.for("react.responder"):60118,R=t?Symbol.for("react.scope"):60119;function O(ue){return typeof ue=="string"||typeof ue=="function"||ue===l||ue===y||ue===f||ue===s||ue===v||ue===x||typeof ue=="object"&&ue!==null&&(ue.$$typeof===S||ue.$$typeof===E||ue.$$typeof===c||ue.$$typeof===d||ue.$$typeof===b||ue.$$typeof===_||ue.$$typeof===A||ue.$$typeof===R||ue.$$typeof===k)}H(O,"isValidElementType");function P(ue){if(typeof ue=="object"&&ue!==null){var Ue=ue.$$typeof;switch(Ue){case o:var Ke=ue.type;switch(Ke){case h:case y:case l:case f:case s:case v:return Ke;default:var Le=Ke&&Ke.$$typeof;switch(Le){case d:case b:case S:case E:case c:return Le;default:return Ue}}case a:return Ue}}}H(P,"typeOf");var I=h,T=y,N=d,B=c,M=o,G=b,ee=l,se=S,be=E,ie=a,he=f,de=s,U=v,J=!1;function Q(ue){return J||(J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(ue)||P(ue)===h}H(Q,"isAsyncMode");function j(ue){return P(ue)===y}H(j,"isConcurrentMode");function Z(ue){return P(ue)===d}H(Z,"isContextConsumer");function fe(ue){return P(ue)===c}H(fe,"isContextProvider");function me(ue){return typeof ue=="object"&&ue!==null&&ue.$$typeof===o}H(me,"isElement");function oe(ue){return P(ue)===b}H(oe,"isForwardRef");function ce(ue){return P(ue)===l}H(ce,"isFragment");function ve(ue){return P(ue)===S}H(ve,"isLazy");function xe(ue){return P(ue)===E}H(xe,"isMemo");function Ee(ue){return P(ue)===a}H(Ee,"isPortal");function ke(ue){return P(ue)===f}H(ke,"isProfiler");function Fe(ue){return P(ue)===s}H(Fe,"isStrictMode");function Ie(ue){return P(ue)===v}H(Ie,"isSuspense"),e.AsyncMode=I,e.ConcurrentMode=T,e.ContextConsumer=N,e.ContextProvider=B,e.Element=M,e.ForwardRef=G,e.Fragment=ee,e.Lazy=se,e.Memo=be,e.Portal=ie,e.Profiler=he,e.StrictMode=de,e.Suspense=U,e.isAsyncMode=Q,e.isConcurrentMode=j,e.isContextConsumer=Z,e.isContextProvider=fe,e.isElement=me,e.isForwardRef=oe,e.isFragment=ce,e.isLazy=ve,e.isMemo=xe,e.isPortal=Ee,e.isProfiler=ke,e.isStrictMode=Fe,e.isSuspense=Ie,e.isValidElementType=O,e.typeOf=P})()}),qO=Zu((e,t)=>{t.exports=WO()}),dw=Zu((e,t)=>{var o=qO(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[o.ForwardRef]=s,c[o.Memo]=f;function d(k){return o.isMemo(k)?f:c[k.$$typeof]||a}H(d,"getStatics");var h=Object.defineProperty,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,E=Object.prototype;function S(k,_,A){if(typeof _!="string"){if(E){var R=x(_);R&&R!==E&&S(k,R,A)}var O=y(_);b&&(O=O.concat(b(_)));for(var P=d(k),I=d(_),T=0;T<O.length;++T){var N=O[T];if(!l[N]&&!(A&&A[N])&&!(I&&I[N])&&!(P&&P[N])){var B=v(_,N);try{h(k,N,B)}catch{}}}}return k}H(S,"hoistNonReactStatics"),t.exports=S}),VO=Zu((e,t)=>{(function(o){if(typeof e=="object"&&typeof t<"u")t.exports=o();else if(typeof define=="function"&&define.amd)define([],o);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.memoizerific=o()}})(function(){return H(function o(a,l,s){function f(h,y){if(!l[h]){if(!a[h]){var b=typeof eu=="function"&&eu;if(!y&&b)return b(h,!0);if(c)return c(h,!0);var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}var x=l[h]={exports:{}};a[h][0].call(x.exports,function(E){var S=a[h][1][E];return f(S||E)},x,x.exports,o,a,l,s)}return l[h].exports}H(f,"s");for(var c=typeof eu=="function"&&eu,d=0;d<s.length;d++)f(s[d]);return f},"e")({1:[function(o,a,l){a.exports=function(s){if(typeof Map!="function"||s){var f=o("./similar");return new f}else return new Map}},{"./similar":2}],2:[function(o,a,l){function s(){return this.list=[],this.lastItem=void 0,this.size=0,this}H(s,"Similar"),s.prototype.get=function(f){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,f))return this.lastItem.val;if(c=this.indexOf(f),c>=0)return this.lastItem=this.list[c],this.list[c].val},s.prototype.set=function(f,c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,f)?(this.lastItem.val=c,this):(d=this.indexOf(f),d>=0?(this.lastItem=this.list[d],this.list[d].val=c,this):(this.lastItem={key:f,val:c},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(f){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,f)&&(this.lastItem=void 0),c=this.indexOf(f),c>=0)return this.size--,this.list.splice(c,1)[0]},s.prototype.has=function(f){var c;return this.lastItem&&this.isEqual(this.lastItem.key,f)?!0:(c=this.indexOf(f),c>=0?(this.lastItem=this.list[c],!0):!1)},s.prototype.forEach=function(f,c){var d;for(d=0;d<this.size;d++)f.call(c||this,this.list[d].val,this.list[d].key,this)},s.prototype.indexOf=function(f){var c;for(c=0;c<this.size;c++)if(this.isEqual(this.list[c].key,f))return c;return-1},s.prototype.isEqual=function(f,c){return f===c||f!==f&&c!==c},a.exports=s},{}],3:[function(o,a,l){var s=o("map-or-similar");a.exports=function(h){var y=new s(!1),b=[];return function(v){var x=H(function(){var E=y,S,k,_=arguments.length-1,A=Array(_+1),R=!0,O;if((x.numArgs||x.numArgs===0)&&x.numArgs!==_+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(O=0;O<_;O++){if(A[O]={cacheItem:E,arg:arguments[O]},E.has(arguments[O])){E=E.get(arguments[O]);continue}R=!1,S=new s(!1),E.set(arguments[O],S),E=S}return R&&(E.has(arguments[_])?k=E.get(arguments[_]):R=!1),R||(k=v.apply(null,arguments),E.set(arguments[_],k)),h>0&&(A[_]={cacheItem:E,arg:arguments[_]},R?f(b,A):b.push(A),b.length>h&&c(b.shift())),x.wasMemoized=R,x.numArgs=_+1,k},"memoizerific");return x.limit=h,x.wasMemoized=!1,x.cache=y,x.lru=b,x}};function f(h,y){var b=h.length,v=y.length,x,E,S;for(E=0;E<b;E++){for(x=!0,S=0;S<v;S++)if(!d(h[E][S].arg,y[S].arg)){x=!1;break}if(x)break}h.push(h.splice(E,1)[0])}H(f,"moveToMostRecentLru");function c(h){var y=h.length,b=h[y-1],v,x;for(b.cacheItem.delete(b.arg),x=y-2;x>=0&&(b=h[x],v=b.cacheItem.get(b.arg),!v||!v.size);x--)b.cacheItem.delete(b.arg)}H(c,"removeCachedResult");function d(h,y){return h===y||h!==h&&y!==y}H(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},Ot.apply(null,arguments)}H(Ot,"_extends");function pw(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}H(pw,"sheetForTag");function hw(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}H(hw,"createStyleElement");var GO=function(){function e(o){var a=this;this._insertTag=function(l){var s;a.tags.length===0?a.insertionPoint?s=a.insertionPoint.nextSibling:a.prepend?s=a.container.firstChild:s=a.before:s=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(l,s),a.tags.push(l)},this.isSpeedy=o.speedy===void 0?!0:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}H(e,"StyleSheet");var t=e.prototype;return t.hydrate=H(function(o){o.forEach(this._insertTag)},"hydrate"),t.insert=H(function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hw(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var l=pw(a);try{l.insertRule(o,l.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(o));this.ctr++},"insert"),t.flush=H(function(){this.tags.forEach(function(o){var a;return(a=o.parentNode)==null?void 0:a.removeChild(o)}),this.tags=[],this.ctr=0},"flush"),e}(),zt="-ms-",Ru="-moz-",We="-webkit-",gw="comm",Qh="rule",Zh="decl",YO="@import",mw="@keyframes",KO="@layer",XO=Math.abs,Ju=String.fromCharCode,QO=Object.assign;function vw(e,t){return _t(e,0)^45?(((t<<2^_t(e,0))<<2^_t(e,1))<<2^_t(e,2))<<2^_t(e,3):0}H(vw,"hash");function Jh(e){return e.trim()}H(Jh,"trim");function yw(e,t){return(e=t.exec(e))?e[0]:e}H(yw,"match");function He(e,t,o){return e.replace(t,o)}H(He,"replace");function Au(e,t){return e.indexOf(t)}H(Au,"indexof");function _t(e,t){return e.charCodeAt(t)|0}H(_t,"charat");function Za(e,t,o){return e.slice(t,o)}H(Za,"substr");function Ur(e){return e.length}H(Ur,"strlen");function ec(e){return e.length}H(ec,"sizeof");function dl(e,t){return t.push(e),e}H(dl,"append");function bw(e,t){return e.map(t).join("")}H(bw,"combine");var tc=1,Ja=1,ww=0,or=0,vt=0,di="";function jl(e,t,o,a,l,s,f){return{value:e,root:t,parent:o,type:a,props:l,children:s,line:tc,column:Ja,length:f,return:""}}H(jl,"node");function ja(e,t){return QO(jl("",null,null,"",null,null,0),e,{length:-e.length},t)}H(ja,"copy");function xw(){return vt}H(xw,"char");function Sw(){return vt=or>0?_t(di,--or):0,Ja--,vt===10&&(Ja=1,tc--),vt}H(Sw,"prev");function rr(){return vt=or<ww?_t(di,or++):0,Ja++,vt===10&&(Ja=1,tc++),vt}H(rr,"next");function qr(){return _t(di,or)}H(qr,"peek");function yl(){return or}H(yl,"caret");function pi(e,t){return Za(di,e,t)}H(pi,"slice");function ei(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}H(ei,"token");function eg(e){return tc=Ja=1,ww=Ur(di=e),or=0,[]}H(eg,"alloc");function tg(e){return di="",e}H(tg,"dealloc");function bl(e){return Jh(pi(or-1,Pu(e===91?e+2:e===40?e+1:e)))}H(bl,"delimit");function Ew(e){for(;(vt=qr())&&vt<33;)rr();return ei(e)>2||ei(vt)>3?"":" "}H(Ew,"whitespace");function kw(e,t){for(;--t&&rr()&&!(vt<48||vt>102||vt>57&&vt<65||vt>70&&vt<97););return pi(e,yl()+(t<6&&qr()==32&&rr()==32))}H(kw,"escaping");function Pu(e){for(;rr();)switch(vt){case e:return or;case 34:case 39:e!==34&&e!==39&&Pu(vt);break;case 40:e===41&&Pu(e);break;case 92:rr();break}return or}H(Pu,"delimiter");function Cw(e,t){for(;rr()&&e+vt!==57&&!(e+vt===84&&qr()===47););return"/*"+pi(t,or-1)+"*"+Ju(e===47?e:rr())}H(Cw,"commenter");function _w(e){for(;!ei(qr());)rr();return pi(e,or)}H(_w,"identifier");function Ow(e){return tg(wl("",null,null,null,[""],e=eg(e),0,[0],e))}H(Ow,"compile");function wl(e,t,o,a,l,s,f,c,d){for(var h=0,y=0,b=f,v=0,x=0,E=0,S=1,k=1,_=1,A=0,R="",O=l,P=s,I=a,T=R;k;)switch(E=A,A=rr()){case 40:if(E!=108&&_t(T,b-1)==58){Au(T+=He(bl(A),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:T+=bl(A);break;case 9:case 10:case 13:case 32:T+=Ew(E);break;case 92:T+=kw(yl()-1,7);continue;case 47:switch(qr()){case 42:case 47:dl(Rw(Cw(rr(),yl()),t,o),d);break;default:T+="/"}break;case 123*S:c[h++]=Ur(T)*_;case 125*S:case 59:case 0:switch(A){case 0:case 125:k=0;case 59+y:_==-1&&(T=He(T,/\f/g,"")),x>0&&Ur(T)-b&&dl(x>32?Jp(T+";",a,o,b-1):Jp(He(T," ","")+";",a,o,b-2),d);break;case 59:T+=";";default:if(dl(I=Zp(T,t,o,h,y,l,c,R,O=[],P=[],b),s),A===123)if(y===0)wl(T,t,I,I,O,s,b,c,P);else switch(v===99&&_t(T,3)===110?100:v){case 100:case 108:case 109:case 115:wl(e,I,I,a&&dl(Zp(e,I,I,0,0,l,c,R,l,O=[],b),P),l,P,b,c,a?O:P);break;default:wl(T,I,I,I,[""],P,0,c,P)}}h=y=x=0,S=_=1,R=T="",b=f;break;case 58:b=1+Ur(T),x=E;default:if(S<1){if(A==123)--S;else if(A==125&&S++==0&&Sw()==125)continue}switch(T+=Ju(A),A*S){case 38:_=y>0?1:(T+="\f",-1);break;case 44:c[h++]=(Ur(T)-1)*_,_=1;break;case 64:qr()===45&&(T+=bl(rr())),v=qr(),y=b=Ur(R=T+=_w(yl())),A++;break;case 45:E===45&&Ur(T)==2&&(S=0)}}return s}H(wl,"parse");function Zp(e,t,o,a,l,s,f,c,d,h,y){for(var b=l-1,v=l===0?s:[""],x=ec(v),E=0,S=0,k=0;E<a;++E)for(var _=0,A=Za(e,b+1,b=XO(S=f[E])),R=e;_<x;++_)(R=Jh(S>0?v[_]+" "+A:He(A,/&\f/g,v[_])))&&(d[k++]=R);return jl(e,t,o,l===0?Qh:c,d,h,y)}H(Zp,"ruleset");function Rw(e,t,o){return jl(e,t,o,gw,Ju(xw()),Za(e,2,-2),0)}H(Rw,"comment");function Jp(e,t,o,a){return jl(e,t,o,Zh,Za(e,0,a),Za(e,a+1,-1),a)}H(Jp,"declaration");function Bo(e,t){for(var o="",a=ec(e),l=0;l<a;l++)o+=t(e[l],l,e,t)||"";return o}H(Bo,"serialize");function Aw(e,t,o,a){switch(e.type){case KO:if(e.children.length)break;case YO:case Zh:return e.return=e.return||e.value;case gw:return"";case mw:return e.return=e.value+"{"+Bo(e.children,a)+"}";case Qh:e.value=e.props.join(",")}return Ur(o=Bo(e.children,a))?e.return=e.value+"{"+o+"}":""}H(Aw,"stringify");function Pw(e){var t=ec(e);return function(o,a,l,s){for(var f="",c=0;c<t;c++)f+=e[c](o,a,l,s)||"";return f}}H(Pw,"middleware");function Tw(e){return function(t){t.root||(t=t.return)&&e(t)}}H(Tw,"rulesheet");var i0=H(function(e){var t=new WeakMap;return function(o){if(t.has(o))return t.get(o);var a=e(o);return t.set(o,a),a}},"weakMemoize");function rg(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}H(rg,"memoize");var ZO=H(function(e,t,o){for(var a=0,l=0;a=l,l=qr(),a===38&&l===12&&(t[o]=1),!ei(l);)rr();return pi(e,or)},"identifierWithPointTracking"),JO=H(function(e,t){var o=-1,a=44;do switch(ei(a)){case 0:a===38&&qr()===12&&(t[o]=1),e[o]+=ZO(or-1,t,o);break;case 2:e[o]+=bl(a);break;case 4:if(a===44){e[++o]=qr()===58?"&\f":"",t[o]=e[o].length;break}default:e[o]+=Ju(a)}while(a=rr());return e},"toRules"),e5=H(function(e,t){return tg(JO(eg(e),t))},"getRules"),l0=new WeakMap,t5=H(function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,o=e.parent,a=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!l0.get(o))&&!a){l0.set(e,!0);for(var l=[],s=e5(t,l),f=o.props,c=0,d=0;c<s.length;c++)for(var h=0;h<f.length;h++,d++)e.props[d]=l[c]?s[c].replace(/&\f/g,f[h]):f[h]+" "+s[c]}}},"compat"),r5=H(function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},"removeLabel");function ng(e,t){switch(vw(e,t)){case 5103:return We+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return We+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return We+e+Ru+e+zt+e+e;case 6828:case 4268:return We+e+zt+e+e;case 6165:return We+e+zt+"flex-"+e+e;case 5187:return We+e+He(e,/(\w+).+(:[^]+)/,We+"box-$1$2"+zt+"flex-$1$2")+e;case 5443:return We+e+zt+"flex-item-"+He(e,/flex-|-self/,"")+e;case 4675:return We+e+zt+"flex-line-pack"+He(e,/align-content|flex-|-self/,"")+e;case 5548:return We+e+zt+He(e,"shrink","negative")+e;case 5292:return We+e+zt+He(e,"basis","preferred-size")+e;case 6060:return We+"box-"+He(e,"-grow","")+We+e+zt+He(e,"grow","positive")+e;case 4554:return We+He(e,/([^-])(transform)/g,"$1"+We+"$2")+e;case 6187:return He(He(He(e,/(zoom-|grab)/,We+"$1"),/(image-set)/,We+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,We+"$1$`$1");case 4968:return He(He(e,/(.+:)(flex-)?(.*)/,We+"box-pack:$3"+zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+We+e+e;case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,We+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ur(e)-1-t>6)switch(_t(e,t+1)){case 109:if(_t(e,t+4)!==45)break;case 102:return He(e,/(.+:)(.+)-([^]+)/,"$1"+We+"$2-$3$1"+Ru+(_t(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Au(e,"stretch")?ng(He(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_t(e,t+1)!==115)break;case 6444:switch(_t(e,Ur(e)-3-(~Au(e,"!important")&&10))){case 107:return He(e,":",":"+We)+e;case 101:return He(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+We+(_t(e,14)===45?"inline-":"")+"box$3$1"+We+"$2$3$1"+zt+"$2box$3")+e}break;case 5936:switch(_t(e,t+11)){case 114:return We+e+zt+He(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return We+e+zt+He(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return We+e+zt+He(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return We+e+zt+e+e}return e}H(ng,"prefix");var n5=H(function(e,t,o,a){if(e.length>-1&&!e.return)switch(e.type){case Zh:e.return=ng(e.value,e.length);break;case mw:return Bo([ja(e,{value:He(e.value,"@","@"+We)})],a);case Qh:if(e.length)return bw(e.props,function(l){switch(yw(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bo([ja(e,{props:[He(l,/:(read-\w+)/,":"+Ru+"$1")]})],a);case"::placeholder":return Bo([ja(e,{props:[He(l,/:(plac\w+)/,":"+We+"input-$1")]}),ja(e,{props:[He(l,/:(plac\w+)/,":"+Ru+"$1")]}),ja(e,{props:[He(l,/:(plac\w+)/,zt+"input-$1")]})],a)}return""})}},"prefixer"),o5=[n5],a5=H(function(e){var t=e.key;if(t==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(E){var S=E.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var a=e.stylisPlugins||o5,l={},s,f=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(E){for(var S=E.getAttribute("data-emotion").split(" "),k=1;k<S.length;k++)l[S[k]]=!0;f.push(E)});var c,d=[t5,r5];{var h,y=[Aw,Tw(function(E){h.insert(E)})],b=Pw(d.concat(a,y)),v=H(function(E){return Bo(Ow(E),b)},"stylis");c=H(function(E,S,k,_){h=k,v(E?E+"{"+S.styles+"}":S.styles),_&&(x.inserted[S.name]=!0)},"insert")}var x={key:t,sheet:new GO({key:t,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:c};return x.sheet.hydrate(f),x},"createCache"),i5=Xh(dw()),l5=H(function(e,t){return(0,i5.default)(e,t)},"hoistNonReactStatics"),s5=!0;function rc(e,t,o){var a="";return o.split(" ").forEach(function(l){e[l]!==void 0?t.push(e[l]+";"):l&&(a+=l+" ")}),a}H(rc,"getRegisteredStyles");var og=H(function(e,t,o){var a=e.key+"-"+t.name;(o===!1||s5===!1)&&e.registered[a]===void 0&&(e.registered[a]=t.styles)},"registerStyles"),Iw=H(function(e,t,o){og(e,t,o);var a=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var l=t;do e.insert(t===l?"."+a:"",l,e.sheet,!0),l=l.next;while(l!==void 0)}},"insertStyles");function Fw(e){for(var t=0,o,a=0,l=e.length;l>=4;++a,l-=4)o=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}H(Fw,"murmur2");var u5={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},c5=/[A-Z]|^ms/g,f5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nw=H(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),s0=H(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Sd=rg(function(e){return Nw(e)?e:e.replace(c5,"-$&").toLowerCase()}),u0=H(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(f5,function(o,a,l){return nn={name:a,styles:l,next:nn},a})}return u5[e]!==1&&!Nw(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");function ti(e,t,o){if(o==null)return"";var a=o;if(a.__emotion_styles!==void 0)return a;switch(typeof o){case"boolean":return"";case"object":{var l=o;if(l.anim===1)return nn={name:l.name,styles:l.styles,next:nn},l.name;var s=o;if(s.styles!==void 0){var f=s.next;if(f!==void 0)for(;f!==void 0;)nn={name:f.name,styles:f.styles,next:nn},f=f.next;var c=s.styles+";";return c}return Lw(e,t,o)}case"function":{if(e!==void 0){var d=nn,h=o(e);return nn=d,ti(e,t,h)}break}}var y=o;if(t==null)return y;var b=t[y];return b!==void 0?b:y}H(ti,"handleInterpolation");function Lw(e,t,o){var a="";if(Array.isArray(o))for(var l=0;l<o.length;l++)a+=ti(e,t,o[l])+";";else for(var s in o){var f=o[s];if(typeof f!="object"){var c=f;t!=null&&t[c]!==void 0?a+=s+"{"+t[c]+"}":s0(c)&&(a+=Sd(s)+":"+u0(s,c)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(t==null||t[f[0]]===void 0))for(var d=0;d<f.length;d++)s0(f[d])&&(a+=Sd(s)+":"+u0(s,f[d])+";");else{var h=ti(e,t,f);switch(s){case"animation":case"animationName":{a+=Sd(s)+":"+h+";";break}default:a+=s+"{"+h+"}"}}}return a}H(Lw,"createStringFromObject");var c0=/label:\s*([^\s;{]+)\s*(;|$)/g,nn;function nc(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var a=!0,l="";nn=void 0;var s=e[0];if(s==null||s.raw===void 0)a=!1,l+=ti(o,t,s);else{var f=s;l+=f[0]}for(var c=1;c<e.length;c++)if(l+=ti(o,t,e[c]),a){var d=s;l+=d[c]}c0.lastIndex=0;for(var h="",y;(y=c0.exec(l))!==null;)h+="-"+y[1];var b=Fw(l)+h;return{name:b,styles:l,next:nn}}H(nc,"serializeStyles");var d5=H(function(e){return e()},"syncFallback"),p5=w.useInsertionEffect?w.useInsertionEffect:!1,jw=p5||d5,$w=w.createContext(typeof HTMLElement<"u"?a5({key:"css"}):null);$w.Provider;var Mw=H(function(e){return w.forwardRef(function(t,o){var a=w.useContext($w);return e(t,a,o)})},"withEmotionCache"),Rl=w.createContext({}),h5=H(function(e,t){if(typeof t=="function"){var o=t(e);return o}return Ot({},e,t)},"getTheme"),g5=i0(function(e){return i0(function(t){return h5(e,t)})}),Dw=H(function(e){var t=w.useContext(Rl);return e.theme!==t&&(t=g5(t)(e.theme)),w.createElement(Rl.Provider,{value:t},e.children)},"ThemeProvider");function $e(e){var t=e.displayName||e.name||"Component",o=w.forwardRef(H(function(a,l){var s=w.useContext(Rl);return w.createElement(e,Ot({theme:s,ref:l},a))},"render"));return o.displayName="WithTheme("+t+")",l5(o,e)}H($e,"withTheme");var ag={}.hasOwnProperty,eh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m5=H(function(e,t){var o={};for(var a in t)ag.call(t,a)&&(o[a]=t[a]);return o[eh]=e,o},"createEmotionProps"),v5=H(function(e){var t=e.cache,o=e.serialized,a=e.isStringTag;return og(t,o,a),jw(function(){return Iw(t,o,a)}),null},"Insertion"),y5=Mw(function(e,t,o){var a=e.css;typeof a=="string"&&t.registered[a]!==void 0&&(a=t.registered[a]);var l=e[eh],s=[a],f="";typeof e.className=="string"?f=rc(t.registered,s,e.className):e.className!=null&&(f=e.className+" ");var c=nc(s,void 0,w.useContext(Rl));f+=t.key+"-"+c.name;var d={};for(var h in e)ag.call(e,h)&&h!=="css"&&h!==eh&&(d[h]=e[h]);return d.className=f,o&&(d.ref=o),w.createElement(w.Fragment,null,w.createElement(v5,{cache:t,serialized:c,isStringTag:typeof l=="string"}),w.createElement(l,d))}),b5=y5;Xh(dw());var f0=H(function(e,t){var o=arguments;if(t==null||!ag.call(t,"css"))return w.createElement.apply(void 0,o);var a=o.length,l=new Array(a);l[0]=b5,l[1]=m5(e,t);for(var s=2;s<a;s++)l[s]=o[s];return w.createElement.apply(null,l)},"jsx");(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(f0||(f0={}));function oc(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return nc(t)}H(oc,"css");function Tr(){var e=oc.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:H(function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"},"toString")}}H(Tr,"keyframes");function w5(e,t,o){var a=[],l=rc(e,a,o);return a.length<2?o:l+t(a)}H(w5,"merge");var x5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ig=rg(function(e){return x5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),S5=ig,E5=H(function(e){return e!=="theme"},"testOmitPropsOnComponent"),d0=H(function(e){return typeof e=="string"&&e.charCodeAt(0)>96?S5:E5},"getDefaultShouldForwardProp"),p0=H(function(e,t,o){var a;if(t){var l=t.shouldForwardProp;a=e.__emotion_forwardProp&&l?function(s){return e.__emotion_forwardProp(s)&&l(s)}:l}return typeof a!="function"&&o&&(a=e.__emotion_forwardProp),a},"composeShouldForwardProps"),k5=H(function(e){var t=e.cache,o=e.serialized,a=e.isStringTag;return og(t,o,a),jw(function(){return Iw(t,o,a)}),null},"Insertion"),C5=H(function e(t,o){var a=t.__emotion_real===t,l=a&&t.__emotion_base||t,s,f;o!==void 0&&(s=o.label,f=o.target);var c=p0(t,o,a),d=c||d0(l),h=!d("as");return function(){var y=arguments,b=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&b.push("label:"+s+";"),y[0]==null||y[0].raw===void 0)b.push.apply(b,y);else{var v=y[0];b.push(v[0]);for(var x=y.length,E=1;E<x;E++)b.push(y[E],v[E])}var S=Mw(function(k,_,A){var R=h&&k.as||l,O="",P=[],I=k;if(k.theme==null){I={};for(var T in k)I[T]=k[T];I.theme=w.useContext(Rl)}typeof k.className=="string"?O=rc(_.registered,P,k.className):k.className!=null&&(O=k.className+" ");var N=nc(b.concat(P),_.registered,I);O+=_.key+"-"+N.name,f!==void 0&&(O+=" "+f);var B=h&&c===void 0?d0(R):d,M={};for(var G in k)h&&G==="as"||B(G)&&(M[G]=k[G]);return M.className=O,A&&(M.ref=A),w.createElement(w.Fragment,null,w.createElement(k5,{cache:_,serialized:N,isStringTag:typeof R=="string"}),w.createElement(R,M))});return S.displayName=s!==void 0?s:"Styled("+(typeof l=="string"?l:l.displayName||l.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=l,S.__emotion_styles=b,S.__emotion_forwardProp=c,Object.defineProperty(S,"toString",{value:H(function(){return"."+f},"value")}),S.withComponent=function(k,_){var A=e(k,Ot({},o,_,{shouldForwardProp:p0(S,_,!0)}));return A.apply(void 0,b)},S}},"createStyled"),_5=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],D=C5.bind(null);_5.forEach(function(e){D[e]=D(e)});function zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}H(zw,"_assertThisInitialized");function ri(e,t){return ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},ri(e,t)}H(ri,"_setPrototypeOf");function Bw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ri(e,t)}H(Bw,"_inheritsLoose");function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tu(e)}H(Tu,"_getPrototypeOf");function Hw(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}H(Hw,"_isNativeFunction");function lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lg=H(function(){return!!e},"_isNativeReflectConstruct"))()}H(lg,"_isNativeReflectConstruct");function Uw(e,t,o){if(lg())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var l=new(e.bind.apply(e,a));return o&&ri(l,o.prototype),l}H(Uw,"_construct");function Iu(e){var t=typeof Map=="function"?new Map:void 0;return Iu=H(function(o){if(o===null||!Hw(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(o))return t.get(o);t.set(o,a)}function a(){return Uw(o,arguments,Tu(this).constructor)}return H(a,"Wrapper"),a.prototype=Object.create(o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ri(a,o)},"_wrapNativeSuper"),Iu(e)}H(Iu,"_wrapNativeSuper");var O5={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
41
|
+
|
42
|
+
`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
|
43
|
+
|
44
|
+
`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.
|
45
|
+
|
46
|
+
`,4:`Couldn't generate valid rgb string from %s, it returned %s.
|
47
|
+
|
48
|
+
`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
|
49
|
+
|
50
|
+
`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).
|
51
|
+
|
52
|
+
`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).
|
53
|
+
|
54
|
+
`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.
|
55
|
+
|
56
|
+
`,9:`Please provide a number of steps to the modularScale helper.
|
57
|
+
|
58
|
+
`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
|
59
|
+
|
60
|
+
`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s"
|
61
|
+
|
62
|
+
`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.
|
63
|
+
|
64
|
+
`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.
|
65
|
+
|
66
|
+
`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.
|
67
|
+
|
68
|
+
`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.
|
69
|
+
|
70
|
+
`,16:`You must provide a template to this method.
|
71
|
+
|
72
|
+
`,17:`You passed an unsupported selector state to this method.
|
73
|
+
|
74
|
+
`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.
|
75
|
+
|
76
|
+
`,19:`fromSize and toSize must be provided as stringified numbers with the same units.
|
77
|
+
|
78
|
+
`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
|
79
|
+
|
80
|
+
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family.
|
81
|
+
|
82
|
+
`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.
|
83
|
+
|
84
|
+
`,25:`fontFace expects localFonts to be an array.
|
85
|
+
|
86
|
+
`,26:`fontFace expects fileFormats to be an array.
|
87
|
+
|
88
|
+
`,27:`radialGradient requries at least 2 color-stops to properly render.
|
89
|
+
|
90
|
+
`,28:`Please supply a filename to retinaImage() as the first argument.
|
91
|
+
|
92
|
+
`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
|
93
|
+
|
94
|
+
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation
|
95
|
+
|
96
|
+
`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])
|
97
|
+
To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')
|
98
|
+
|
99
|
+
`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation
|
100
|
+
|
101
|
+
`,34:`borderRadius expects a radius value as a string or number as the second argument.
|
102
|
+
|
103
|
+
`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
|
104
|
+
|
105
|
+
`,36:`Property must be a string value.
|
106
|
+
|
107
|
+
`,37:`Syntax Error at %s.
|
108
|
+
|
109
|
+
`,38:`Formula contains a function that needs parentheses at %s.
|
110
|
+
|
111
|
+
`,39:`Formula is missing closing parenthesis at %s.
|
112
|
+
|
113
|
+
`,40:`Formula has too many closing parentheses at %s.
|
114
|
+
|
115
|
+
`,41:`All values in a formula must have the same unit or be unitless.
|
116
|
+
|
117
|
+
`,42:`Please provide a number of steps to the modularScale helper.
|
118
|
+
|
119
|
+
`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
|
120
|
+
|
121
|
+
`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.
|
122
|
+
|
123
|
+
`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.
|
124
|
+
|
125
|
+
`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.
|
126
|
+
|
127
|
+
`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.
|
128
|
+
|
129
|
+
`,48:`fromSize and toSize must be provided as stringified numbers with the same units.
|
130
|
+
|
131
|
+
`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
|
132
|
+
|
133
|
+
`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.
|
134
|
+
|
135
|
+
`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.
|
136
|
+
|
137
|
+
`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.
|
138
|
+
|
139
|
+
`,53:`fontFace expects localFonts to be an array.
|
140
|
+
|
141
|
+
`,54:`fontFace expects fileFormats to be an array.
|
142
|
+
|
143
|
+
`,55:`fontFace expects a name of a font-family.
|
144
|
+
|
145
|
+
`,56:`linearGradient requries at least 2 color-stops to properly render.
|
146
|
+
|
147
|
+
`,57:`radialGradient requries at least 2 color-stops to properly render.
|
148
|
+
|
149
|
+
`,58:`Please supply a filename to retinaImage() as the first argument.
|
150
|
+
|
151
|
+
`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
|
152
|
+
|
153
|
+
`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value.
|
154
|
+
|
155
|
+
`,62:`borderRadius expects a radius value as a string or number as the second argument.
|
156
|
+
|
157
|
+
`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
|
158
|
+
|
159
|
+
`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.
|
160
|
+
|
161
|
+
`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').
|
162
|
+
|
163
|
+
`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.
|
164
|
+
|
165
|
+
`,67:`You must provide a template to this method.
|
166
|
+
|
167
|
+
`,68:`You passed an unsupported selector state to this method.
|
168
|
+
|
169
|
+
`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.
|
170
|
+
|
171
|
+
`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.
|
172
|
+
|
173
|
+
`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.
|
174
|
+
|
175
|
+
`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12.
|
176
|
+
|
177
|
+
`,73:`Please provide a valid CSS variable.
|
178
|
+
|
179
|
+
`,74:`CSS variable not found and no default was provided.
|
180
|
+
|
181
|
+
`,75:`important requires a valid style object, got a %s instead.
|
182
|
+
|
183
|
+
`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.
|
184
|
+
|
185
|
+
`,77:`remToPx expects a value in "rem" but you provided it in "%s".
|
186
|
+
|
187
|
+
`,78:`base must be set in "px" or "%" but you set it in "%s".
|
188
|
+
`};function Ww(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a=t[0],l=[],s;for(s=1;s<t.length;s+=1)l.push(t[s]);return l.forEach(function(f){a=a.replace(/%[a-z]/,f)}),a}H(Ww,"format");var er=function(e){Bw(t,e);function t(o){for(var a,l=arguments.length,s=new Array(l>1?l-1:0),f=1;f<l;f++)s[f-1]=arguments[f];return a=e.call(this,Ww.apply(void 0,[O5[o]].concat(s)))||this,zw(a)}return H(t,"PolishedError"),t}(Iu(Error));function th(e,t){return e.substr(-t.length)===t}H(th,"endsWith");var R5=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function rh(e){if(typeof e!="string")return e;var t=e.match(R5);return t?parseFloat(e):e}H(rh,"stripUnit");var A5=H(function(e){return function(t,o){o===void 0&&(o="16px");var a=t,l=o;if(typeof t=="string"){if(!th(t,"px"))throw new er(69,e,t);a=rh(t)}if(typeof o=="string"){if(!th(o,"px"))throw new er(70,e,o);l=rh(o)}if(typeof a=="string")throw new er(71,t,e);if(typeof l=="string")throw new er(72,o,e);return""+a/l+e}},"pxtoFactory"),qw=A5;qw("em");qw("rem");function hu(e){return Math.round(e*255)}H(hu,"colorToInt");function Vw(e,t,o){return hu(e)+","+hu(t)+","+hu(o)}H(Vw,"convertToInt");function ni(e,t,o,a){if(a===void 0&&(a=Vw),t===0)return a(o,o,o);var l=(e%360+360)%360/60,s=(1-Math.abs(2*o-1))*t,f=s*(1-Math.abs(l%2-1)),c=0,d=0,h=0;l>=0&&l<1?(c=s,d=f):l>=1&&l<2?(c=f,d=s):l>=2&&l<3?(d=s,h=f):l>=3&&l<4?(d=f,h=s):l>=4&&l<5?(c=f,h=s):l>=5&&l<6&&(c=s,h=f);var y=o-s/2,b=c+y,v=d+y,x=h+y;return a(b,v,x)}H(ni,"hslToRgb");var h0={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Gw(e){if(typeof e!="string")return e;var t=e.toLowerCase();return h0[t]?"#"+h0[t]:e}H(Gw,"nameToHex");var P5=/^#[a-fA-F0-9]{6}$/,T5=/^#[a-fA-F0-9]{8}$/,I5=/^#[a-fA-F0-9]{3}$/,F5=/^#[a-fA-F0-9]{4}$/,Ed=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,N5=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,L5=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,j5=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Go(e){if(typeof e!="string")throw new er(3);var t=Gw(e);if(t.match(P5))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(T5)){var o=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:o}}if(t.match(I5))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(F5)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var l=Ed.exec(t);if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)};var s=N5.exec(t.substring(0,50));if(s)return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])};var f=L5.exec(t);if(f){var c=parseInt(""+f[1],10),d=parseInt(""+f[2],10)/100,h=parseInt(""+f[3],10)/100,y="rgb("+ni(c,d,h)+")",b=Ed.exec(y);if(!b)throw new er(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var v=j5.exec(t.substring(0,50));if(v){var x=parseInt(""+v[1],10),E=parseInt(""+v[2],10)/100,S=parseInt(""+v[3],10)/100,k="rgb("+ni(x,E,S)+")",_=Ed.exec(k);if(!_)throw new er(4,t,k);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new er(5)}H(Go,"parseToRgb");function Yw(e){var t=e.red/255,o=e.green/255,a=e.blue/255,l=Math.max(t,o,a),s=Math.min(t,o,a),f=(l+s)/2;if(l===s)return e.alpha!==void 0?{hue:0,saturation:0,lightness:f,alpha:e.alpha}:{hue:0,saturation:0,lightness:f};var c,d=l-s,h=f>.5?d/(2-l-s):d/(l+s);switch(l){case t:c=(o-a)/d+(o<a?6:0);break;case o:c=(a-t)/d+2;break;default:c=(t-o)/d+4;break}return c*=60,e.alpha!==void 0?{hue:c,saturation:h,lightness:f,alpha:e.alpha}:{hue:c,saturation:h,lightness:f}}H(Yw,"rgbToHsl");function Rn(e){return Yw(Go(e))}H(Rn,"parseToHsl");var $5=H(function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},"reduceHexValue"),nh=$5;function lo(e){var t=e.toString(16);return t.length===1?"0"+t:t}H(lo,"numberToHex");function gu(e){return lo(Math.round(e*255))}H(gu,"colorToHex");function Kw(e,t,o){return nh("#"+gu(e)+gu(t)+gu(o))}H(Kw,"convertToHex");function Al(e,t,o){return ni(e,t,o,Kw)}H(Al,"hslToHex");function Xw(e,t,o){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number")return Al(e,t,o);if(typeof e=="object"&&t===void 0&&o===void 0)return Al(e.hue,e.saturation,e.lightness);throw new er(1)}H(Xw,"hsl");function Qw(e,t,o,a){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number"&&typeof a=="number")return a>=1?Al(e,t,o):"rgba("+ni(e,t,o)+","+a+")";if(typeof e=="object"&&t===void 0&&o===void 0&&a===void 0)return e.alpha>=1?Al(e.hue,e.saturation,e.lightness):"rgba("+ni(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new er(2)}H(Qw,"hsla");function Fu(e,t,o){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number")return nh("#"+lo(e)+lo(t)+lo(o));if(typeof e=="object"&&t===void 0&&o===void 0)return nh("#"+lo(e.red)+lo(e.green)+lo(e.blue));throw new er(6)}H(Fu,"rgb");function Yo(e,t,o,a){if(typeof e=="string"&&typeof t=="number"){var l=Go(e);return"rgba("+l.red+","+l.green+","+l.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof o=="number"&&typeof a=="number")return a>=1?Fu(e,t,o):"rgba("+e+","+t+","+o+","+a+")";if(typeof e=="object"&&t===void 0&&o===void 0&&a===void 0)return e.alpha>=1?Fu(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new er(7)}H(Yo,"rgba");var M5=H(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),D5=H(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),z5=H(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),B5=H(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function An(e){if(typeof e!="object")throw new er(8);if(D5(e))return Yo(e);if(M5(e))return Fu(e);if(B5(e))return Qw(e);if(z5(e))return Xw(e);throw new er(8)}H(An,"toColorString");function sg(e,t,o){return H(function(){var a=o.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):sg(e,t,a)},"fn")}H(sg,"curried");function lr(e){return sg(e,e.length,[])}H(lr,"curry");function Zw(e,t){if(t==="transparent")return t;var o=Rn(t);return An(Ot({},o,{hue:o.hue+parseFloat(e)}))}H(Zw,"adjustHue");lr(Zw);function ta(e,t,o){return Math.max(e,Math.min(t,o))}H(ta,"guard");function Jw(e,t){if(t==="transparent")return t;var o=Rn(t);return An(Ot({},o,{lightness:ta(0,1,o.lightness-parseFloat(e))}))}H(Jw,"darken");var H5=lr(Jw),U5=H5;function ex(e,t){if(t==="transparent")return t;var o=Rn(t);return An(Ot({},o,{saturation:ta(0,1,o.saturation-parseFloat(e))}))}H(ex,"desaturate");lr(ex);function tx(e,t){if(t==="transparent")return t;var o=Rn(t);return An(Ot({},o,{lightness:ta(0,1,o.lightness+parseFloat(e))}))}H(tx,"lighten");var W5=lr(tx),q5=W5;function rx(e,t,o){if(t==="transparent")return o;if(o==="transparent")return t;if(e===0)return o;var a=Go(t),l=Ot({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),s=Go(o),f=Ot({},s,{alpha:typeof s.alpha=="number"?s.alpha:1}),c=l.alpha-f.alpha,d=parseFloat(e)*2-1,h=d*c===-1?d:d+c,y=1+d*c,b=(h/y+1)/2,v=1-b,x={red:Math.floor(l.red*b+f.red*v),green:Math.floor(l.green*b+f.green*v),blue:Math.floor(l.blue*b+f.blue*v),alpha:l.alpha*parseFloat(e)+f.alpha*(1-parseFloat(e))};return Yo(x)}H(rx,"mix");var V5=lr(rx),nx=V5;function ox(e,t){if(t==="transparent")return t;var o=Go(t),a=typeof o.alpha=="number"?o.alpha:1,l=Ot({},o,{alpha:ta(0,1,(a*100+parseFloat(e)*100)/100)});return Yo(l)}H(ox,"opacify");var G5=lr(ox),Y5=G5;function ax(e,t){if(t==="transparent")return t;var o=Rn(t);return An(Ot({},o,{saturation:ta(0,1,o.saturation+parseFloat(e))}))}H(ax,"saturate");lr(ax);function ix(e,t){return t==="transparent"?t:An(Ot({},Rn(t),{hue:parseFloat(e)}))}H(ix,"setHue");lr(ix);function lx(e,t){return t==="transparent"?t:An(Ot({},Rn(t),{lightness:parseFloat(e)}))}H(lx,"setLightness");lr(lx);function sx(e,t){return t==="transparent"?t:An(Ot({},Rn(t),{saturation:parseFloat(e)}))}H(sx,"setSaturation");lr(sx);function ux(e,t){return t==="transparent"?t:nx(parseFloat(e),"rgb(0, 0, 0)",t)}H(ux,"shade");lr(ux);function cx(e,t){return t==="transparent"?t:nx(parseFloat(e),"rgb(255, 255, 255)",t)}H(cx,"tint");lr(cx);function fx(e,t){if(t==="transparent")return t;var o=Go(t),a=typeof o.alpha=="number"?o.alpha:1,l=Ot({},o,{alpha:ta(0,1,+(a*100-parseFloat(e)*100).toFixed(2)/100)});return Yo(l)}H(fx,"transparentize");var K5=lr(fx),X5=K5,Ce={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},so={app:"#F6F9FC",gridCellSize:10,hoverable:X5(.9,Ce.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},an={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},dx=Xh(VO(),1),Q5=(0,dx.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,dx.default)(1)(({color:e,background:t,typography:o})=>{let a=Q5({typography:o});return{...a,body:{...a.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...a.hr,borderTop:`1px solid ${e.border}`},".sb-sr-only, .sb-hidden-until-focus:not(:focus)":{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",border:0},".sb-hidden-until-focus":{opacity:0,transition:"opacity 150ms ease-out"},".sb-hidden-until-focus:focus":{opacity:1}}});var Z5={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:Ce.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:an.fonts.base,fontCode:an.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:Ce.mediumdark,barHoverColor:Ce.secondary,barSelectedColor:Ce.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:Ce.lightest,inputBorderRadius:4},J5=Z5,eR={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:so.app,appContentBg:Ce.lightest,appPreviewBg:Ce.lightest,appBorderColor:Ce.border,appBorderRadius:4,fontBase:an.fonts.base,fontCode:an.fonts.mono,textColor:Ce.darkest,textInverseColor:Ce.lightest,textMutedColor:Ce.dark,barTextColor:Ce.mediumdark,barHoverColor:Ce.secondary,barSelectedColor:Ce.secondary,barBg:Ce.lightest,buttonBg:so.app,buttonBorder:Ce.medium,booleanBg:Ce.mediumlight,booleanSelectedBg:Ce.lightest,inputBg:Ce.lightest,inputBorder:Ce.border,inputTextColor:Ce.darkest,inputBorderRadius:4},Nu=eR,{window:kd}=Ll,tR=H(e=>({color:e}),"mkColor"),rR=H(e=>typeof e!="string"?(Qa.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),nR=H(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),oR=H((e,t)=>e==="darken"?Yo(`${U5(1,t)}`,.95):e==="lighten"?Yo(`${q5(1,t)}`,.95):t,"applyPolished"),px=H(e=>t=>{if(!rR(t)||!nR(t))return t;try{return oR(e,t)}catch{return t}},"colorFactory"),al=px("lighten");px("darken");var hx=H(()=>!kd||!kd.matchMedia?"light":kd.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),ac={light:Nu,dark:J5,normal:Nu};hx();var aR={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},iR=Tr`
|
189
|
+
from {
|
190
|
+
transform: rotate(0deg);
|
191
|
+
}
|
192
|
+
to {
|
193
|
+
transform: rotate(360deg);
|
194
|
+
}
|
195
|
+
`,gx=Tr`
|
196
|
+
0%, 100% { opacity: 1; }
|
197
|
+
50% { opacity: .4; }
|
198
|
+
`,lR=Tr`
|
199
|
+
0% { transform: translateY(1px); }
|
200
|
+
25% { transform: translateY(0px); }
|
201
|
+
50% { transform: translateY(-3px); }
|
202
|
+
100% { transform: translateY(1px); }
|
203
|
+
`,sR=Tr`
|
204
|
+
0%, 100% { transform:translate3d(0,0,0); }
|
205
|
+
12.5%, 62.5% { transform:translate3d(-4px,0,0); }
|
206
|
+
37.5%, 87.5% { transform: translate3d(4px,0,0); }
|
207
|
+
`,uR=oc`
|
208
|
+
animation: ${gx} 1.5s ease-in-out infinite;
|
209
|
+
color: transparent;
|
210
|
+
cursor: progress;
|
211
|
+
`,cR=oc`
|
212
|
+
transition: all 150ms ease-out;
|
213
|
+
transform: translate3d(0, 0, 0);
|
214
|
+
|
215
|
+
&:hover {
|
216
|
+
transform: translate3d(0, -2px, 0);
|
217
|
+
}
|
218
|
+
|
219
|
+
&:active {
|
220
|
+
transform: translate3d(0, 0, 0);
|
221
|
+
}
|
222
|
+
`,fR={rotate360:iR,glow:gx,float:lR,jiggle:sR,inlineGlow:uR,hoverable:cR},dR={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},pR={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},hR=H(e=>Object.entries(e).reduce((t,[o,a])=>({...t,[o]:tR(a)}),{}),"convertColors"),gR=H(({colors:e,mono:t})=>{let o=hR(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":o.red3,"&.comment":{...o.green1,fontStyle:"italic"},"&.prolog":{...o.green1,fontStyle:"italic"},"&.doctype":{...o.green1,fontStyle:"italic"},"&.cdata":{...o.green1,fontStyle:"italic"},"&.string":o.red1,"&.url":o.cyan1,"&.symbol":o.cyan1,"&.number":o.cyan1,"&.boolean":o.cyan1,"&.variable":o.cyan1,"&.constant":o.cyan1,"&.inserted":o.cyan1,"&.atrule":o.blue1,"&.keyword":o.blue1,"&.attr-value":o.blue1,"&.punctuation":o.gray1,"&.operator":o.gray1,"&.function":o.gray1,"&.deleted":o.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":o.cyan2,"&.selector":o.red3,"&.attr-name":o.red4,"&.property":o.red4,"&.regex":o.red4,"&.entity":o.red4,"&.directive.tag .tag":{background:"#ffff00",...o.gray1}},"language-json .token.boolean":o.blue1,"language-json .token.number":o.blue1,"language-json .token.property":o.cyan2,namespace:{opacity:.7}}},"create"),mR={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},vR={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},yR=H(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:Ce.tertiary,ancillary:Ce.ancillary,orange:Ce.orange,gold:Ce.gold,green:Ce.green,seafoam:Ce.seafoam,purple:Ce.purple,ultraviolet:Ce.ultraviolet,lightest:Ce.lightest,lighter:Ce.lighter,light:Ce.light,mediumlight:Ce.mediumlight,medium:Ce.medium,mediumdark:Ce.mediumdark,dark:Ce.dark,darker:Ce.darker,darkest:Ce.darkest,border:Ce.border,positive:Ce.positive,negative:Ce.negative,warning:Ce.warning,critical:Ce.critical,defaultText:e.textColor||Ce.darkest,inverseText:e.textInverseColor||Ce.lightest,positiveText:Ce.positiveText,negativeText:Ce.negativeText,warningText:Ce.warningText}),"createColors"),g0=H((e=ac[hx()])=>{let{base:t,colorPrimary:o,colorSecondary:a,appBg:l,appContentBg:s,appPreviewBg:f,appBorderColor:c,appBorderRadius:d,fontBase:h,fontCode:y,textColor:b,textInverseColor:v,barTextColor:x,barHoverColor:E,barSelectedColor:S,barBg:k,buttonBg:_,buttonBorder:A,booleanBg:R,booleanSelectedBg:O,inputBg:P,inputBorder:I,inputTextColor:T,inputBorderRadius:N,brandTitle:B,brandUrl:M,brandImage:G,brandTarget:ee,gridCellSize:se,...be}=e;return{...be,base:t,color:yR(e),background:{app:l,bar:k,content:s,preview:f,gridCellSize:se||so.gridCellSize,hoverable:so.hoverable,positive:so.positive,negative:so.negative,warning:so.warning,critical:so.critical},typography:{fonts:{base:h,mono:y},weight:an.weight,size:an.size},animation:fR,easing:aR,input:{background:P,border:I,borderRadius:N,color:T},button:{background:_||P,border:A||I},boolean:{background:R||I,selectedBackground:O||P},layoutMargin:10,appBorderColor:c,appBorderRadius:d,barTextColor:x,barHoverColor:E||a,barSelectedColor:S||a,barBg:k,brand:{title:B,url:M,image:G||(B?null:void 0),target:ee},code:gR({colors:t==="light"?mR:vR,mono:y}),addonActionsTheme:{...t==="light"?pR:dR,BASE_FONT_FAMILY:y,BASE_FONT_SIZE:an.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:b,ARROW_COLOR:Y5(.2,c),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:y,TREENODE_FONT_SIZE:an.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert"),bR=H(e=>Object.keys(e).length===0,"isEmpty"),Cd=H(e=>e!=null&&typeof e=="object","isObject"),wR=H((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),xR=H(()=>Object.create(null),"makeObjectWithoutPrototype"),mx=H((e,t)=>e===t||!Cd(e)||!Cd(t)?{}:Object.keys(e).reduce((o,a)=>{if(wR(t,a)){let l=mx(e[a],t[a]);return Cd(l)&&bR(l)||(o[a]=l),o}return o[a]=void 0,o},xR()),"deletedDiff"),SR=mx;function vx(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var a=Array.from(typeof e=="string"?[e]:e);a[a.length-1]=a[a.length-1].replace(/\r?\n([\t ]*)$/,"");var l=a.reduce(function(c,d){var h=d.match(/\n([\t ]+|(?!\s).)/g);return h?c.concat(h.map(function(y){var b,v;return(v=(b=y.match(/[\t ]/g))===null||b===void 0?void 0:b.length)!==null&&v!==void 0?v:0})):c},[]);if(l.length){var s=new RegExp(`
|
223
|
+
[ ]{`+Math.min.apply(Math,l)+"}","g");a=a.map(function(c){return c.replace(s,`
|
224
|
+
`)})}a[0]=a[0].replace(/^\r?\n/,"");var f=a[0];return t.forEach(function(c,d){var h=f.match(/(?:^|\n)( *)$/),y=h?h[1]:"",b=c;typeof c=="string"&&c.includes(`
|
225
|
+
`)&&(b=String(c).split(`
|
226
|
+
`).map(function(v,x){return x===0?v:""+y+v}).join(`
|
227
|
+
`)),f+=b+a[d+1]}),f}H(vx,"dedent");var yx=H(e=>{if(!e)return g0(Nu);let t=SR(Nu,e);return Object.keys(t).length&&Qa.warn(vx`
|
228
|
+
Your theme is missing properties, you should update your theme!
|
229
|
+
|
230
|
+
theme-data missing:
|
231
|
+
`,t),g0(e)},"ensure"),m0="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";function Jt(){}function xt(e){return e!=null}function Ye(e){return xt(e)&&ER(e)&&"id"in e&&"storyId"in e&&typeof e.id=="string"&&typeof e.storyId=="string"}function ER(e){return typeof e=="object"&&e!=null}var _d,v0;function hi(){return v0||(v0=1,_d=TypeError),_d}const kR={},CR=Object.freeze(Object.defineProperty({__proto__:null,default:kR},Symbol.toStringTag,{value:"Module"})),_R=hO(CR);var Od,y0;function ic(){if(y0)return Od;y0=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=e&&t&&typeof t.get=="function"?t.get:null,a=e&&Map.prototype.forEach,l=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,f=l&&s&&typeof s.get=="function"?s.get:null,c=l&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,y=typeof WeakSet=="function"&&WeakSet.prototype,b=y?WeakSet.prototype.has:null,v=typeof WeakRef=="function"&&WeakRef.prototype,x=v?WeakRef.prototype.deref:null,E=Boolean.prototype.valueOf,S=Object.prototype.toString,k=Function.prototype.toString,_=String.prototype.match,A=String.prototype.slice,R=String.prototype.replace,O=String.prototype.toUpperCase,P=String.prototype.toLowerCase,I=RegExp.prototype.test,T=Array.prototype.concat,N=Array.prototype.join,B=Array.prototype.slice,M=Math.floor,G=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ee=Object.getOwnPropertySymbols,se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,be=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ie=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===be||!0)?Symbol.toStringTag:null,he=Object.prototype.propertyIsEnumerable,de=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(q){return q.__proto__}:null);function U(q,Y){if(q===1/0||q===-1/0||q!==q||q&&q>-1e3&&q<1e3||I.call(/e/,Y))return Y;var Te=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof q=="number"){var Me=q<0?-M(-q):M(q);if(Me!==q){var je=String(Me),Re=A.call(Y,je.length+1);return R.call(je,Te,"$&_")+"."+R.call(R.call(Re,/([0-9]{3})/g,"$&_"),/_$/,"")}}return R.call(Y,Te,"$&_")}var J=_R,Q=J.custom,j=ue(Q)?Q:null,Z={__proto__:null,double:'"',single:"'"},fe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Od=function q(Y,Te,Me,je){var Re=Te||{};if(Le(Re,"quoteStyle")&&!Le(Z,Re.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Le(Re,"maxStringLength")&&(typeof Re.maxStringLength=="number"?Re.maxStringLength<0&&Re.maxStringLength!==1/0:Re.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Qe=Le(Re,"customInspect")?Re.customInspect:!0;if(typeof Qe!="boolean"&&Qe!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Le(Re,"indent")&&Re.indent!==null&&Re.indent!==" "&&!(parseInt(Re.indent,10)===Re.indent&&Re.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Le(Re,"numericSeparator")&&typeof Re.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var De=Re.numericSeparator;if(typeof Y>"u")return"undefined";if(Y===null)return"null";if(typeof Y=="boolean")return Y?"true":"false";if(typeof Y=="string")return Lt(Y,Re);if(typeof Y=="number"){if(Y===0)return 1/0/Y>0?"0":"-0";var ut=String(Y);return De?U(Y,ut):ut}if(typeof Y=="bigint"){var ur=String(Y)+"n";return De?U(Y,ur):ur}var pn=typeof Re.depth>"u"?5:Re.depth;if(typeof Me>"u"&&(Me=0),Me>=pn&&pn>0&&typeof Y=="object")return ce(Y)?"[Array]":"[Object]";var Sr=Nn(Re,Me);if(typeof je>"u")je=[];else if(Ft(je,Y)>=0)return"[Circular]";function At($n,Eo,Gl){if(Eo&&(je=B.call(je),je.push(Eo)),Gl){var Ei={depth:Re.depth};return Le(Re,"quoteStyle")&&(Ei.quoteStyle=Re.quoteStyle),q($n,Ei,Me+1,je)}return q($n,Re,Me+1,je)}if(typeof Y=="function"&&!xe(Y)){var Xr=yt(Y),wi=Bt(Y,At);return"[Function"+(Xr?": "+Xr:" (anonymous)")+"]"+(wi.length>0?" { "+N.call(wi,", ")+" }":"")}if(ue(Y)){var Ln=be?R.call(String(Y),/^(Symbol\(.*\))_[^)]*$/,"$1"):se.call(Y);return typeof Y=="object"&&!be?st(Ln):Ln}if(Nr(Y)){for(var hn="<"+P.call(String(Y.nodeName)),gn=Y.attributes||[],la=0;la<gn.length;la++)hn+=" "+gn[la].name+"="+me(oe(gn[la].value),"double",Re);return hn+=">",Y.childNodes&&Y.childNodes.length&&(hn+="..."),hn+="</"+P.call(String(Y.nodeName))+">",hn}if(ce(Y)){if(Y.length===0)return"[]";var mn=Bt(Y,At);return Sr&&!St(mn)?"["+Kr(mn,Sr)+"]":"[ "+N.call(mn,", ")+" ]"}if(Ee(Y)){var jn=Bt(Y,At);return!("cause"in Error.prototype)&&"cause"in Y&&!he.call(Y,"cause")?"{ ["+String(Y)+"] "+N.call(T.call("[cause]: "+At(Y.cause),jn),", ")+" }":jn.length===0?"["+String(Y)+"]":"{ ["+String(Y)+"] "+N.call(jn,", ")+" }"}if(typeof Y=="object"&&Qe){if(j&&typeof Y[j]=="function"&&J)return J(Y,{depth:pn-Me});if(Qe!=="symbol"&&typeof Y.inspect=="function")return Y.inspect()}if(qe(Y)){var So=[];return a&&a.call(Y,function($n,Eo){So.push(At(Eo,Y,!0)+" => "+At($n,Y))}),Ve("Map",o.call(Y),So,Sr)}if(Nt(Y)){var sa=[];return c&&c.call(Y,function($n){sa.push(At($n,Y))}),Ve("Set",f.call(Y),sa,Sr)}if(Xe(Y))return Je("WeakMap");if(gt(Y))return Je("WeakSet");if(dt(Y))return Je("WeakRef");if(Fe(Y))return st(At(Number(Y)));if(Ue(Y))return st(At(G.call(Y)));if(Ie(Y))return st(E.call(Y));if(ke(Y))return st(At(String(Y)));if(typeof window<"u"&&Y===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Y===globalThis||typeof qy<"u"&&Y===qy)return"{ [object globalThis] }";if(!ve(Y)&&!xe(Y)){var xi=Bt(Y,At),ql=de?de(Y)===Object.prototype:Y instanceof Object||Y.constructor===Object,Si=Y instanceof Object?"":"null prototype",Qr=!ql&&ie&&Object(Y)===Y&&ie in Y?A.call(rt(Y),8,-1):Si?"Object":"",Vl=ql||typeof Y.constructor!="function"?"":Y.constructor.name?Y.constructor.name+" ":"",ua=Vl+(Qr||Si?"["+N.call(T.call([],Qr||[],Si||[]),": ")+"] ":"");return xi.length===0?ua+"{}":Sr?ua+"{"+Kr(xi,Sr)+"}":ua+"{ "+N.call(xi,", ")+" }"}return String(Y)};function me(q,Y,Te){var Me=Te.quoteStyle||Y,je=Z[Me];return je+q+je}function oe(q){return R.call(String(q),/"/g,""")}function ce(q){return rt(q)==="[object Array]"&&(!ie||!(typeof q=="object"&&ie in q))}function ve(q){return rt(q)==="[object Date]"&&(!ie||!(typeof q=="object"&&ie in q))}function xe(q){return rt(q)==="[object RegExp]"&&(!ie||!(typeof q=="object"&&ie in q))}function Ee(q){return rt(q)==="[object Error]"&&(!ie||!(typeof q=="object"&&ie in q))}function ke(q){return rt(q)==="[object String]"&&(!ie||!(typeof q=="object"&&ie in q))}function Fe(q){return rt(q)==="[object Number]"&&(!ie||!(typeof q=="object"&&ie in q))}function Ie(q){return rt(q)==="[object Boolean]"&&(!ie||!(typeof q=="object"&&ie in q))}function ue(q){if(be)return q&&typeof q=="object"&&q instanceof Symbol;if(typeof q=="symbol")return!0;if(!q||typeof q!="object"||!se)return!1;try{return se.call(q),!0}catch{}return!1}function Ue(q){if(!q||typeof q!="object"||!G)return!1;try{return G.call(q),!0}catch{}return!1}var Ke=Object.prototype.hasOwnProperty||function(q){return q in this};function Le(q,Y){return Ke.call(q,Y)}function rt(q){return S.call(q)}function yt(q){if(q.name)return q.name;var Y=_.call(k.call(q),/^function\s*([\w$]+)/);return Y?Y[1]:null}function Ft(q,Y){if(q.indexOf)return q.indexOf(Y);for(var Te=0,Me=q.length;Te<Me;Te++)if(q[Te]===Y)return Te;return-1}function qe(q){if(!o||!q||typeof q!="object")return!1;try{o.call(q);try{f.call(q)}catch{return!0}return q instanceof Map}catch{}return!1}function Xe(q){if(!h||!q||typeof q!="object")return!1;try{h.call(q,h);try{b.call(q,b)}catch{return!0}return q instanceof WeakMap}catch{}return!1}function dt(q){if(!x||!q||typeof q!="object")return!1;try{return x.call(q),!0}catch{}return!1}function Nt(q){if(!f||!q||typeof q!="object")return!1;try{f.call(q);try{o.call(q)}catch{return!0}return q instanceof Set}catch{}return!1}function gt(q){if(!b||!q||typeof q!="object")return!1;try{b.call(q,b);try{h.call(q,h)}catch{return!0}return q instanceof WeakSet}catch{}return!1}function Nr(q){return!q||typeof q!="object"?!1:typeof HTMLElement<"u"&&q instanceof HTMLElement?!0:typeof q.nodeName=="string"&&typeof q.getAttribute=="function"}function Lt(q,Y){if(q.length>Y.maxStringLength){var Te=q.length-Y.maxStringLength,Me="... "+Te+" more character"+(Te>1?"s":"");return Lt(A.call(q,0,Y.maxStringLength),Y)+Me}var je=fe[Y.quoteStyle||"single"];je.lastIndex=0;var Re=R.call(R.call(q,je,"\\$1"),/[\x00-\x1f]/g,lt);return me(Re,"single",Y)}function lt(q){var Y=q.charCodeAt(0),Te={8:"b",9:"t",10:"n",12:"f",13:"r"}[Y];return Te?"\\"+Te:"\\x"+(Y<16?"0":"")+O.call(Y.toString(16))}function st(q){return"Object("+q+")"}function Je(q){return q+" { ? }"}function Ve(q,Y,Te,Me){var je=Me?Kr(Te,Me):N.call(Te,", ");return q+" ("+Y+") {"+je+"}"}function St(q){for(var Y=0;Y<q.length;Y++)if(Ft(q[Y],`
|
232
|
+
`)>=0)return!1;return!0}function Nn(q,Y){var Te;if(q.indent===" ")Te=" ";else if(typeof q.indent=="number"&&q.indent>0)Te=N.call(Array(q.indent+1)," ");else return null;return{base:Te,prev:N.call(Array(Y+1),Te)}}function Kr(q,Y){if(q.length===0)return"";var Te=`
|
233
|
+
`+Y.prev+Y.base;return Te+N.call(q,","+Te)+`
|
234
|
+
`+Y.prev}function Bt(q,Y){var Te=ce(q),Me=[];if(Te){Me.length=q.length;for(var je=0;je<q.length;je++)Me[je]=Le(q,je)?Y(q[je],q):""}var Re=typeof ee=="function"?ee(q):[],Qe;if(be){Qe={};for(var De=0;De<Re.length;De++)Qe["$"+Re[De]]=Re[De]}for(var ut in q)Le(q,ut)&&(Te&&String(Number(ut))===ut&&ut<q.length||be&&Qe["$"+ut]instanceof Symbol||(I.call(/[^\w$]/,ut)?Me.push(Y(ut,q)+": "+Y(q[ut],q)):Me.push(ut+": "+Y(q[ut],q))));if(typeof ee=="function")for(var ur=0;ur<Re.length;ur++)he.call(q,Re[ur])&&Me.push("["+Y(Re[ur])+"]: "+Y(q[Re[ur]],q));return Me}return Od}var Rd,b0;function OR(){if(b0)return Rd;b0=1;var e=ic(),t=hi(),o=function(c,d,h){for(var y=c,b;(b=y.next)!=null;y=b)if(b.key===d)return y.next=b.next,h||(b.next=c.next,c.next=b),b},a=function(c,d){if(c){var h=o(c,d);return h&&h.value}},l=function(c,d,h){var y=o(c,d);y?y.value=h:c.next={key:d,next:c.next,value:h}},s=function(c,d){return c?!!o(c,d):!1},f=function(c,d){if(c)return o(c,d,!0)};return Rd=function(){var d,h={assert:function(y){if(!h.has(y))throw new t("Side channel does not contain "+e(y))},delete:function(y){var b=d&&d.next,v=f(d,y);return v&&b&&b===v&&(d=void 0),!!v},get:function(y){return a(d,y)},has:function(y){return s(d,y)},set:function(y,b){d||(d={next:void 0}),l(d,y,b)}};return h},Rd}var Ad,w0;function bx(){return w0||(w0=1,Ad=Object),Ad}var Pd,x0;function RR(){return x0||(x0=1,Pd=Error),Pd}var Td,S0;function AR(){return S0||(S0=1,Td=EvalError),Td}var Id,E0;function PR(){return E0||(E0=1,Id=RangeError),Id}var Fd,k0;function TR(){return k0||(k0=1,Fd=ReferenceError),Fd}var Nd,C0;function IR(){return C0||(C0=1,Nd=SyntaxError),Nd}var Ld,_0;function FR(){return _0||(_0=1,Ld=URIError),Ld}var jd,O0;function NR(){return O0||(O0=1,jd=Math.abs),jd}var $d,R0;function LR(){return R0||(R0=1,$d=Math.floor),$d}var Md,A0;function jR(){return A0||(A0=1,Md=Math.max),Md}var Dd,P0;function $R(){return P0||(P0=1,Dd=Math.min),Dd}var zd,T0;function MR(){return T0||(T0=1,zd=Math.pow),zd}var Bd,I0;function DR(){return I0||(I0=1,Bd=Math.round),Bd}var Hd,F0;function zR(){return F0||(F0=1,Hd=Number.isNaN||function(t){return t!==t}),Hd}var Ud,N0;function BR(){if(N0)return Ud;N0=1;var e=zR();return Ud=function(o){return e(o)||o===0?o:o<0?-1:1},Ud}var Wd,L0;function HR(){return L0||(L0=1,Wd=Object.getOwnPropertyDescriptor),Wd}var qd,j0;function wx(){if(j0)return qd;j0=1;var e=HR();if(e)try{e([],"length")}catch{e=null}return qd=e,qd}var Vd,$0;function UR(){if($0)return Vd;$0=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Vd=e,Vd}var Gd,M0;function WR(){return M0||(M0=1,Gd=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},o=Symbol("test"),a=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var l=42;t[o]=l;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var f=Object.getOwnPropertySymbols(t);if(f.length!==1||f[0]!==o||!Object.prototype.propertyIsEnumerable.call(t,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(t,o);if(c.value!==l||c.enumerable!==!0)return!1}return!0}),Gd}var Yd,D0;function qR(){if(D0)return Yd;D0=1;var e=typeof Symbol<"u"&&Symbol,t=WR();return Yd=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Yd}var Kd,z0;function xx(){return z0||(z0=1,Kd=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Kd}var Xd,B0;function Sx(){if(B0)return Xd;B0=1;var e=bx();return Xd=e.getPrototypeOf||null,Xd}var Qd,H0;function VR(){if(H0)return Qd;H0=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,o=Math.max,a="[object Function]",l=function(d,h){for(var y=[],b=0;b<d.length;b+=1)y[b]=d[b];for(var v=0;v<h.length;v+=1)y[v+d.length]=h[v];return y},s=function(d,h){for(var y=[],b=h,v=0;b<d.length;b+=1,v+=1)y[v]=d[b];return y},f=function(c,d){for(var h="",y=0;y<c.length;y+=1)h+=c[y],y+1<c.length&&(h+=d);return h};return Qd=function(d){var h=this;if(typeof h!="function"||t.apply(h)!==a)throw new TypeError(e+h);for(var y=s(arguments,1),b,v=function(){if(this instanceof b){var _=h.apply(this,l(y,arguments));return Object(_)===_?_:this}return h.apply(d,l(y,arguments))},x=o(0,h.length-y.length),E=[],S=0;S<x;S++)E[S]="$"+S;if(b=Function("binder","return function ("+f(E,",")+"){ return binder.apply(this,arguments); }")(v),h.prototype){var k=function(){};k.prototype=h.prototype,b.prototype=new k,k.prototype=null}return b},Qd}var Zd,U0;function lc(){if(U0)return Zd;U0=1;var e=VR();return Zd=Function.prototype.bind||e,Zd}var Jd,W0;function ug(){return W0||(W0=1,Jd=Function.prototype.call),Jd}var ep,q0;function Ex(){return q0||(q0=1,ep=Function.prototype.apply),ep}var tp,V0;function GR(){return V0||(V0=1,tp=typeof Reflect<"u"&&Reflect&&Reflect.apply),tp}var rp,G0;function YR(){if(G0)return rp;G0=1;var e=lc(),t=Ex(),o=ug(),a=GR();return rp=a||e.call(o,t),rp}var np,Y0;function kx(){if(Y0)return np;Y0=1;var e=lc(),t=hi(),o=ug(),a=YR();return np=function(s){if(s.length<1||typeof s[0]!="function")throw new t("a function is required");return a(e,o,s)},np}var op,K0;function KR(){if(K0)return op;K0=1;var e=kx(),t=wx(),o;try{o=[].__proto__===Array.prototype}catch(f){if(!f||typeof f!="object"||!("code"in f)||f.code!=="ERR_PROTO_ACCESS")throw f}var a=!!o&&t&&t(Object.prototype,"__proto__"),l=Object,s=l.getPrototypeOf;return op=a&&typeof a.get=="function"?e([a.get]):typeof s=="function"?function(c){return s(c==null?c:l(c))}:!1,op}var ap,X0;function XR(){if(X0)return ap;X0=1;var e=xx(),t=Sx(),o=KR();return ap=e?function(l){return e(l)}:t?function(l){if(!l||typeof l!="object"&&typeof l!="function")throw new TypeError("getProto: not an object");return t(l)}:o?function(l){return o(l)}:null,ap}var ip,Q0;function QR(){if(Q0)return ip;Q0=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,o=lc();return ip=o.call(e,t),ip}var lp,Z0;function cg(){if(Z0)return lp;Z0=1;var e,t=bx(),o=RR(),a=AR(),l=PR(),s=TR(),f=IR(),c=hi(),d=FR(),h=NR(),y=LR(),b=jR(),v=$R(),x=MR(),E=DR(),S=BR(),k=Function,_=function(Ee){try{return k('"use strict"; return ('+Ee+").constructor;")()}catch{}},A=wx(),R=UR(),O=function(){throw new c},P=A?function(){try{return arguments.callee,O}catch{try{return A(arguments,"callee").get}catch{return O}}}():O,I=qR()(),T=XR(),N=Sx(),B=xx(),M=Ex(),G=ug(),ee={},se=typeof Uint8Array>"u"||!T?e:T(Uint8Array),be={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":I&&T?T([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":ee,"%AsyncGenerator%":ee,"%AsyncGeneratorFunction%":ee,"%AsyncIteratorPrototype%":ee,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":k,"%GeneratorFunction%":ee,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":I&&T?T(T([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!I||!T?e:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":l,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!I||!T?e:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":I&&T?T(""[Symbol.iterator]()):e,"%Symbol%":I?Symbol:e,"%SyntaxError%":f,"%ThrowTypeError%":P,"%TypedArray%":se,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":M,"%Object.defineProperty%":R,"%Object.getPrototypeOf%":N,"%Math.abs%":h,"%Math.floor%":y,"%Math.max%":b,"%Math.min%":v,"%Math.pow%":x,"%Math.round%":E,"%Math.sign%":S,"%Reflect.getPrototypeOf%":B};if(T)try{null.error}catch(Ee){var ie=T(T(Ee));be["%Error.prototype%"]=ie}var he=function Ee(ke){var Fe;if(ke==="%AsyncFunction%")Fe=_("async function () {}");else if(ke==="%GeneratorFunction%")Fe=_("function* () {}");else if(ke==="%AsyncGeneratorFunction%")Fe=_("async function* () {}");else if(ke==="%AsyncGenerator%"){var Ie=Ee("%AsyncGeneratorFunction%");Ie&&(Fe=Ie.prototype)}else if(ke==="%AsyncIteratorPrototype%"){var ue=Ee("%AsyncGenerator%");ue&&T&&(Fe=T(ue.prototype))}return be[ke]=Fe,Fe},de={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},U=lc(),J=QR(),Q=U.call(G,Array.prototype.concat),j=U.call(M,Array.prototype.splice),Z=U.call(G,String.prototype.replace),fe=U.call(G,String.prototype.slice),me=U.call(G,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ce=/\\(\\)?/g,ve=function(ke){var Fe=fe(ke,0,1),Ie=fe(ke,-1);if(Fe==="%"&&Ie!=="%")throw new f("invalid intrinsic syntax, expected closing `%`");if(Ie==="%"&&Fe!=="%")throw new f("invalid intrinsic syntax, expected opening `%`");var ue=[];return Z(ke,oe,function(Ue,Ke,Le,rt){ue[ue.length]=Le?Z(rt,ce,"$1"):Ke||Ue}),ue},xe=function(ke,Fe){var Ie=ke,ue;if(J(de,Ie)&&(ue=de[Ie],Ie="%"+ue[0]+"%"),J(be,Ie)){var Ue=be[Ie];if(Ue===ee&&(Ue=he(Ie)),typeof Ue>"u"&&!Fe)throw new c("intrinsic "+ke+" exists, but is not available. Please file an issue!");return{alias:ue,name:Ie,value:Ue}}throw new f("intrinsic "+ke+" does not exist!")};return lp=function(ke,Fe){if(typeof ke!="string"||ke.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Fe!="boolean")throw new c('"allowMissing" argument must be a boolean');if(me(/^%?[^%]*%?$/,ke)===null)throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ie=ve(ke),ue=Ie.length>0?Ie[0]:"",Ue=xe("%"+ue+"%",Fe),Ke=Ue.name,Le=Ue.value,rt=!1,yt=Ue.alias;yt&&(ue=yt[0],j(Ie,Q([0,1],yt)));for(var Ft=1,qe=!0;Ft<Ie.length;Ft+=1){var Xe=Ie[Ft],dt=fe(Xe,0,1),Nt=fe(Xe,-1);if((dt==='"'||dt==="'"||dt==="`"||Nt==='"'||Nt==="'"||Nt==="`")&&dt!==Nt)throw new f("property names with quotes must have matching quotes");if((Xe==="constructor"||!qe)&&(rt=!0),ue+="."+Xe,Ke="%"+ue+"%",J(be,Ke))Le=be[Ke];else if(Le!=null){if(!(Xe in Le)){if(!Fe)throw new c("base intrinsic for "+ke+" exists, but the property is not available.");return}if(A&&Ft+1>=Ie.length){var gt=A(Le,Xe);qe=!!gt,qe&&"get"in gt&&!("originalValue"in gt.get)?Le=gt.get:Le=Le[Xe]}else qe=J(Le,Xe),Le=Le[Xe];qe&&!rt&&(be[Ke]=Le)}}return Le},lp}var sp,J0;function Cx(){if(J0)return sp;J0=1;var e=cg(),t=kx(),o=t([e("%String.prototype.indexOf%")]);return sp=function(l,s){var f=e(l,!!s);return typeof f=="function"&&o(l,".prototype.")>-1?t([f]):f},sp}var up,e1;function _x(){if(e1)return up;e1=1;var e=cg(),t=Cx(),o=ic(),a=hi(),l=e("%Map%",!0),s=t("Map.prototype.get",!0),f=t("Map.prototype.set",!0),c=t("Map.prototype.has",!0),d=t("Map.prototype.delete",!0),h=t("Map.prototype.size",!0);return up=!!l&&function(){var b,v={assert:function(x){if(!v.has(x))throw new a("Side channel does not contain "+o(x))},delete:function(x){if(b){var E=d(b,x);return h(b)===0&&(b=void 0),E}return!1},get:function(x){if(b)return s(b,x)},has:function(x){return b?c(b,x):!1},set:function(x,E){b||(b=new l),f(b,x,E)}};return v},up}var cp,t1;function ZR(){if(t1)return cp;t1=1;var e=cg(),t=Cx(),o=ic(),a=_x(),l=hi(),s=e("%WeakMap%",!0),f=t("WeakMap.prototype.get",!0),c=t("WeakMap.prototype.set",!0),d=t("WeakMap.prototype.has",!0),h=t("WeakMap.prototype.delete",!0);return cp=s?function(){var b,v,x={assert:function(E){if(!x.has(E))throw new l("Side channel does not contain "+o(E))},delete:function(E){if(s&&E&&(typeof E=="object"||typeof E=="function")){if(b)return h(b,E)}else if(a&&v)return v.delete(E);return!1},get:function(E){return s&&E&&(typeof E=="object"||typeof E=="function")&&b?f(b,E):v&&v.get(E)},has:function(E){return s&&E&&(typeof E=="object"||typeof E=="function")&&b?d(b,E):!!v&&v.has(E)},set:function(E,S){s&&E&&(typeof E=="object"||typeof E=="function")?(b||(b=new s),c(b,E,S)):a&&(v||(v=a()),v.set(E,S))}};return x}:a,cp}var fp,r1;function JR(){if(r1)return fp;r1=1;var e=hi(),t=ic(),o=OR(),a=_x(),l=ZR(),s=l||a||o;return fp=function(){var c,d={assert:function(h){if(!d.has(h))throw new e("Side channel does not contain "+t(h))},delete:function(h){return!!c&&c.delete(h)},get:function(h){return c&&c.get(h)},has:function(h){return!!c&&c.has(h)},set:function(h,y){c||(c=s()),c.set(h,y)}};return d},fp}var dp,n1;function fg(){if(n1)return dp;n1=1;var e=String.prototype.replace,t=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};return dp={default:o.RFC3986,formatters:{RFC1738:function(a){return e.call(a,t,"+")},RFC3986:function(a){return String(a)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986},dp}var pp,o1;function Ox(){if(o1)return pp;o1=1;var e=fg(),t=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var k=[],_=0;_<256;++_)k.push("%"+((_<16?"0":"")+_.toString(16)).toUpperCase());return k}(),l=function(_){for(;_.length>1;){var A=_.pop(),R=A.obj[A.prop];if(o(R)){for(var O=[],P=0;P<R.length;++P)typeof R[P]<"u"&&O.push(R[P]);A.obj[A.prop]=O}}},s=function(_,A){for(var R=A&&A.plainObjects?{__proto__:null}:{},O=0;O<_.length;++O)typeof _[O]<"u"&&(R[O]=_[O]);return R},f=function k(_,A,R){if(!A)return _;if(typeof A!="object"&&typeof A!="function"){if(o(_))_.push(A);else if(_&&typeof _=="object")(R&&(R.plainObjects||R.allowPrototypes)||!t.call(Object.prototype,A))&&(_[A]=!0);else return[_,A];return _}if(!_||typeof _!="object")return[_].concat(A);var O=_;return o(_)&&!o(A)&&(O=s(_,R)),o(_)&&o(A)?(A.forEach(function(P,I){if(t.call(_,I)){var T=_[I];T&&typeof T=="object"&&P&&typeof P=="object"?_[I]=k(T,P,R):_.push(P)}else _[I]=P}),_):Object.keys(A).reduce(function(P,I){var T=A[I];return t.call(P,I)?P[I]=k(P[I],T,R):P[I]=T,P},O)},c=function(_,A){return Object.keys(A).reduce(function(R,O){return R[O]=A[O],R},_)},d=function(k,_,A){var R=k.replace(/\+/g," ");if(A==="iso-8859-1")return R.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(R)}catch{return R}},h=1024,y=function(_,A,R,O,P){if(_.length===0)return _;var I=_;if(typeof _=="symbol"?I=Symbol.prototype.toString.call(_):typeof _!="string"&&(I=String(_)),R==="iso-8859-1")return escape(I).replace(/%u[0-9a-f]{4}/gi,function(se){return"%26%23"+parseInt(se.slice(2),16)+"%3B"});for(var T="",N=0;N<I.length;N+=h){for(var B=I.length>=h?I.slice(N,N+h):I,M=[],G=0;G<B.length;++G){var ee=B.charCodeAt(G);if(ee===45||ee===46||ee===95||ee===126||ee>=48&&ee<=57||ee>=65&&ee<=90||ee>=97&&ee<=122||P===e.RFC1738&&(ee===40||ee===41)){M[M.length]=B.charAt(G);continue}if(ee<128){M[M.length]=a[ee];continue}if(ee<2048){M[M.length]=a[192|ee>>6]+a[128|ee&63];continue}if(ee<55296||ee>=57344){M[M.length]=a[224|ee>>12]+a[128|ee>>6&63]+a[128|ee&63];continue}G+=1,ee=65536+((ee&1023)<<10|B.charCodeAt(G)&1023),M[M.length]=a[240|ee>>18]+a[128|ee>>12&63]+a[128|ee>>6&63]+a[128|ee&63]}T+=M.join("")}return T},b=function(_){for(var A=[{obj:{o:_},prop:"o"}],R=[],O=0;O<A.length;++O)for(var P=A[O],I=P.obj[P.prop],T=Object.keys(I),N=0;N<T.length;++N){var B=T[N],M=I[B];typeof M=="object"&&M!==null&&R.indexOf(M)===-1&&(A.push({obj:I,prop:B}),R.push(M))}return l(A),_},v=function(_){return Object.prototype.toString.call(_)==="[object RegExp]"},x=function(_){return!_||typeof _!="object"?!1:!!(_.constructor&&_.constructor.isBuffer&&_.constructor.isBuffer(_))},E=function(_,A){return[].concat(_,A)},S=function(_,A){if(o(_)){for(var R=[],O=0;O<_.length;O+=1)R.push(A(_[O]));return R}return A(_)};return pp={arrayToObject:s,assign:c,combine:E,compact:b,decode:d,encode:y,isBuffer:x,isRegExp:v,maybeMap:S,merge:f},pp}var hp,a1;function e3(){if(a1)return hp;a1=1;var e=JR(),t=Ox(),o=fg(),a=Object.prototype.hasOwnProperty,l={brackets:function(k){return k+"[]"},comma:"comma",indices:function(k,_){return k+"["+_+"]"},repeat:function(k){return k}},s=Array.isArray,f=Array.prototype.push,c=function(S,k){f.apply(S,s(k)?k:[k])},d=Date.prototype.toISOString,h=o.default,y={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:o.formatters[h],indices:!1,serializeDate:function(k){return d.call(k)},skipNulls:!1,strictNullHandling:!1},b=function(k){return typeof k=="string"||typeof k=="number"||typeof k=="boolean"||typeof k=="symbol"||typeof k=="bigint"},v={},x=function S(k,_,A,R,O,P,I,T,N,B,M,G,ee,se,be,ie,he,de){for(var U=k,J=de,Q=0,j=!1;(J=J.get(v))!==void 0&&!j;){var Z=J.get(k);if(Q+=1,typeof Z<"u"){if(Z===Q)throw new RangeError("Cyclic object value");j=!0}typeof J.get(v)>"u"&&(Q=0)}if(typeof B=="function"?U=B(_,U):U instanceof Date?U=ee(U):A==="comma"&&s(U)&&(U=t.maybeMap(U,function(Ke){return Ke instanceof Date?ee(Ke):Ke})),U===null){if(P)return N&&!ie?N(_,y.encoder,he,"key",se):_;U=""}if(b(U)||t.isBuffer(U)){if(N){var fe=ie?_:N(_,y.encoder,he,"key",se);return[be(fe)+"="+be(N(U,y.encoder,he,"value",se))]}return[be(_)+"="+be(String(U))]}var me=[];if(typeof U>"u")return me;var oe;if(A==="comma"&&s(U))ie&&N&&(U=t.maybeMap(U,N)),oe=[{value:U.length>0?U.join(",")||null:void 0}];else if(s(B))oe=B;else{var ce=Object.keys(U);oe=M?ce.sort(M):ce}var ve=T?String(_).replace(/\./g,"%2E"):String(_),xe=R&&s(U)&&U.length===1?ve+"[]":ve;if(O&&s(U)&&U.length===0)return xe+"[]";for(var Ee=0;Ee<oe.length;++Ee){var ke=oe[Ee],Fe=typeof ke=="object"&&ke&&typeof ke.value<"u"?ke.value:U[ke];if(!(I&&Fe===null)){var Ie=G&&T?String(ke).replace(/\./g,"%2E"):String(ke),ue=s(U)?typeof A=="function"?A(xe,Ie):xe:xe+(G?"."+Ie:"["+Ie+"]");de.set(k,Q);var Ue=e();Ue.set(v,de),c(me,S(Fe,ue,A,R,O,P,I,T,A==="comma"&&ie&&s(U)?null:N,B,M,G,ee,se,be,ie,he,Ue))}}return me},E=function(k){if(!k)return y;if(typeof k.allowEmptyArrays<"u"&&typeof k.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof k.encodeDotInKeys<"u"&&typeof k.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(k.encoder!==null&&typeof k.encoder<"u"&&typeof k.encoder!="function")throw new TypeError("Encoder has to be a function.");var _=k.charset||y.charset;if(typeof k.charset<"u"&&k.charset!=="utf-8"&&k.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var A=o.default;if(typeof k.format<"u"){if(!a.call(o.formatters,k.format))throw new TypeError("Unknown format option provided.");A=k.format}var R=o.formatters[A],O=y.filter;(typeof k.filter=="function"||s(k.filter))&&(O=k.filter);var P;if(k.arrayFormat in l?P=k.arrayFormat:"indices"in k?P=k.indices?"indices":"repeat":P=y.arrayFormat,"commaRoundTrip"in k&&typeof k.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var I=typeof k.allowDots>"u"?k.encodeDotInKeys===!0?!0:y.allowDots:!!k.allowDots;return{addQueryPrefix:typeof k.addQueryPrefix=="boolean"?k.addQueryPrefix:y.addQueryPrefix,allowDots:I,allowEmptyArrays:typeof k.allowEmptyArrays=="boolean"?!!k.allowEmptyArrays:y.allowEmptyArrays,arrayFormat:P,charset:_,charsetSentinel:typeof k.charsetSentinel=="boolean"?k.charsetSentinel:y.charsetSentinel,commaRoundTrip:!!k.commaRoundTrip,delimiter:typeof k.delimiter>"u"?y.delimiter:k.delimiter,encode:typeof k.encode=="boolean"?k.encode:y.encode,encodeDotInKeys:typeof k.encodeDotInKeys=="boolean"?k.encodeDotInKeys:y.encodeDotInKeys,encoder:typeof k.encoder=="function"?k.encoder:y.encoder,encodeValuesOnly:typeof k.encodeValuesOnly=="boolean"?k.encodeValuesOnly:y.encodeValuesOnly,filter:O,format:A,formatter:R,serializeDate:typeof k.serializeDate=="function"?k.serializeDate:y.serializeDate,skipNulls:typeof k.skipNulls=="boolean"?k.skipNulls:y.skipNulls,sort:typeof k.sort=="function"?k.sort:null,strictNullHandling:typeof k.strictNullHandling=="boolean"?k.strictNullHandling:y.strictNullHandling}};return hp=function(S,k){var _=S,A=E(k),R,O;typeof A.filter=="function"?(O=A.filter,_=O("",_)):s(A.filter)&&(O=A.filter,R=O);var P=[];if(typeof _!="object"||_===null)return"";var I=l[A.arrayFormat],T=I==="comma"&&A.commaRoundTrip;R||(R=Object.keys(_)),A.sort&&R.sort(A.sort);for(var N=e(),B=0;B<R.length;++B){var M=R[B],G=_[M];A.skipNulls&&G===null||c(P,x(G,M,I,T,A.allowEmptyArrays,A.strictNullHandling,A.skipNulls,A.encodeDotInKeys,A.encode?A.encoder:null,A.filter,A.sort,A.allowDots,A.serializeDate,A.format,A.formatter,A.encodeValuesOnly,A.charset,N))}var ee=P.join(A.delimiter),se=A.addQueryPrefix===!0?"?":"";return A.charsetSentinel&&(A.charset==="iso-8859-1"?se+="utf8=%26%2310003%3B&":se+="utf8=%E2%9C%93&"),ee.length>0?se+ee:""},hp}var gp,i1;function t3(){if(i1)return gp;i1=1;var e=Ox(),t=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},l=function(v){return v.replace(/&#(\d+);/g,function(x,E){return String.fromCharCode(parseInt(E,10))})},s=function(v,x,E){if(v&&typeof v=="string"&&x.comma&&v.indexOf(",")>-1)return v.split(",");if(x.throwOnLimitExceeded&&E>=x.arrayLimit)throw new RangeError("Array limit exceeded. Only "+x.arrayLimit+" element"+(x.arrayLimit===1?"":"s")+" allowed in an array.");return v},f="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",d=function(x,E){var S={__proto__:null},k=E.ignoreQueryPrefix?x.replace(/^\?/,""):x;k=k.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var _=E.parameterLimit===1/0?void 0:E.parameterLimit,A=k.split(E.delimiter,E.throwOnLimitExceeded?_+1:_);if(E.throwOnLimitExceeded&&A.length>_)throw new RangeError("Parameter limit exceeded. Only "+_+" parameter"+(_===1?"":"s")+" allowed.");var R=-1,O,P=E.charset;if(E.charsetSentinel)for(O=0;O<A.length;++O)A[O].indexOf("utf8=")===0&&(A[O]===c?P="utf-8":A[O]===f&&(P="iso-8859-1"),R=O,O=A.length);for(O=0;O<A.length;++O)if(O!==R){var I=A[O],T=I.indexOf("]="),N=T===-1?I.indexOf("="):T+1,B,M;N===-1?(B=E.decoder(I,a.decoder,P,"key"),M=E.strictNullHandling?null:""):(B=E.decoder(I.slice(0,N),a.decoder,P,"key"),M=e.maybeMap(s(I.slice(N+1),E,o(S[B])?S[B].length:0),function(ee){return E.decoder(ee,a.decoder,P,"value")})),M&&E.interpretNumericEntities&&P==="iso-8859-1"&&(M=l(String(M))),I.indexOf("[]=")>-1&&(M=o(M)?[M]:M);var G=t.call(S,B);G&&E.duplicates==="combine"?S[B]=e.combine(S[B],M):(!G||E.duplicates==="last")&&(S[B]=M)}return S},h=function(v,x,E,S){var k=0;if(v.length>0&&v[v.length-1]==="[]"){var _=v.slice(0,-1).join("");k=Array.isArray(x)&&x[_]?x[_].length:0}for(var A=S?x:s(x,E,k),R=v.length-1;R>=0;--R){var O,P=v[R];if(P==="[]"&&E.parseArrays)O=E.allowEmptyArrays&&(A===""||E.strictNullHandling&&A===null)?[]:e.combine([],A);else{O=E.plainObjects?{__proto__:null}:{};var I=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,T=E.decodeDotInKeys?I.replace(/%2E/g,"."):I,N=parseInt(T,10);!E.parseArrays&&T===""?O={0:A}:!isNaN(N)&&P!==T&&String(N)===T&&N>=0&&E.parseArrays&&N<=E.arrayLimit?(O=[],O[N]=A):T!=="__proto__"&&(O[T]=A)}A=O}return A},y=function(x,E,S,k){if(x){var _=S.allowDots?x.replace(/\.([^.[]+)/g,"[$1]"):x,A=/(\[[^[\]]*])/,R=/(\[[^[\]]*])/g,O=S.depth>0&&A.exec(_),P=O?_.slice(0,O.index):_,I=[];if(P){if(!S.plainObjects&&t.call(Object.prototype,P)&&!S.allowPrototypes)return;I.push(P)}for(var T=0;S.depth>0&&(O=R.exec(_))!==null&&T<S.depth;){if(T+=1,!S.plainObjects&&t.call(Object.prototype,O[1].slice(1,-1))&&!S.allowPrototypes)return;I.push(O[1])}if(O){if(S.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+S.depth+" and strictDepth is true");I.push("["+_.slice(O.index)+"]")}return h(I,E,S,k)}},b=function(x){if(!x)return a;if(typeof x.allowEmptyArrays<"u"&&typeof x.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof x.decodeDotInKeys<"u"&&typeof x.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(x.decoder!==null&&typeof x.decoder<"u"&&typeof x.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof x.charset<"u"&&x.charset!=="utf-8"&&x.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof x.throwOnLimitExceeded<"u"&&typeof x.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var E=typeof x.charset>"u"?a.charset:x.charset,S=typeof x.duplicates>"u"?a.duplicates:x.duplicates;if(S!=="combine"&&S!=="first"&&S!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var k=typeof x.allowDots>"u"?x.decodeDotInKeys===!0?!0:a.allowDots:!!x.allowDots;return{allowDots:k,allowEmptyArrays:typeof x.allowEmptyArrays=="boolean"?!!x.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof x.allowPrototypes=="boolean"?x.allowPrototypes:a.allowPrototypes,allowSparse:typeof x.allowSparse=="boolean"?x.allowSparse:a.allowSparse,arrayLimit:typeof x.arrayLimit=="number"?x.arrayLimit:a.arrayLimit,charset:E,charsetSentinel:typeof x.charsetSentinel=="boolean"?x.charsetSentinel:a.charsetSentinel,comma:typeof x.comma=="boolean"?x.comma:a.comma,decodeDotInKeys:typeof x.decodeDotInKeys=="boolean"?x.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof x.decoder=="function"?x.decoder:a.decoder,delimiter:typeof x.delimiter=="string"||e.isRegExp(x.delimiter)?x.delimiter:a.delimiter,depth:typeof x.depth=="number"||x.depth===!1?+x.depth:a.depth,duplicates:S,ignoreQueryPrefix:x.ignoreQueryPrefix===!0,interpretNumericEntities:typeof x.interpretNumericEntities=="boolean"?x.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof x.parameterLimit=="number"?x.parameterLimit:a.parameterLimit,parseArrays:x.parseArrays!==!1,plainObjects:typeof x.plainObjects=="boolean"?x.plainObjects:a.plainObjects,strictDepth:typeof x.strictDepth=="boolean"?!!x.strictDepth:a.strictDepth,strictNullHandling:typeof x.strictNullHandling=="boolean"?x.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof x.throwOnLimitExceeded=="boolean"?x.throwOnLimitExceeded:!1}};return gp=function(v,x){var E=b(x);if(v===""||v===null||typeof v>"u")return E.plainObjects?{__proto__:null}:{};for(var S=typeof v=="string"?d(v,E):v,k=E.plainObjects?{__proto__:null}:{},_=Object.keys(S),A=0;A<_.length;++A){var R=_[A],O=y(R,S[R],E,typeof v=="string");k=e.merge(k,O,E)}return E.allowSparse===!0?k:e.compact(k)},gp}var mp,l1;function r3(){if(l1)return mp;l1=1;var e=e3(),t=t3(),o=fg();return mp={formats:o,parse:t,stringify:e},mp}var Rx=r3();const n3=new Map([[void 0,/(unknown|success|approved|failed|pending|running)/],["unknown",/(success|approved|failed|pending|running)/],["success",/(approved|failed|pending|running)/],["approved",/(failed|pending|running)/],["failed",/(pending|running)/],["pending",/running/]]);function oh(e=[]){return{path:e,skip:!0,opened:!1,checked:!0,indeterminate:!1,children:{}}}function Lu(e,t){var o;return t&&((o=n3.get(e))!=null&&o.test(t))?t:e}function Ar(e){const{browser:t,testName:o,storyPath:a}=e;return[...a,o,t].filter(xt)}function Do(e,t){return t.reduce((o,a)=>Ye(o)?o:o==null?void 0:o.children[a],e)}function o3(e,t){const o=Do(e,t)??e;return Ye(o)?o:null}function Ax(e,t){e.checked=t,Ye(e)||(e.indeterminate=!1,Object.values(e.children).filter(xt).forEach(o=>{Ax(o,t)}))}function ah(e){const t=Object.values(e.children).filter(xt).filter(f=>!f.skip),o=t.every(f=>f.checked),a=t.some(f=>f.checked),l=t.some(f=>Ye(f)?!1:f.indeterminate)||!o&&a,s=l||e.checked==o?e.checked:o;e.checked=s,e.indeterminate=l}function a3(e,t,o){const a=Do(e,t);a&&Ax(a,o),t.slice(0,-1).map((l,s,f)=>f.slice(0,f.length-s)).forEach(l=>{const s=Do(e,l);Ye(s)||s&&ah(s)}),ah(e)}function i3(e){const t=oh();return t.opened=!0,Object.values(e).forEach(o=>{if(!o)return;const[a,...l]=Ar(o).reverse(),s=l.reverse().reduce((f,c)=>{const d=f.children[c]??oh([...f.path,c]);if(d.status=Lu(d.status,o.status),o.skip||(d.skip=!1),d.skip||(f.skip=!1),f.children[c]=d,f.status=Lu(f.status,d.status),Ye(d))throw new Error(`Suite and Test should not have same path '${JSON.stringify(Ar(d))}'`);return d},t);s.children[a]={...o,checked:!0}}),t}function dg(e){return Object.values(e.children).filter(xt).flatMap(t=>Ye(t)?t.checked?t:[]:!t.checked&&!t.indeterminate?[]:dg(t))}function Px(e){return Object.values(e.children).filter(xt).flatMap(t=>Ye(t)?t.status==="failed"?t:[]:Px(t))}function Tx(e,t,o){const a=t.shift();if(!a)return;const l=e.children[a]??(e.children[a]={...t.length==0?o:oh([...e.path,a]),checked:e.checked});if(Ye(l)){const s=l,{skip:f,status:c,results:d,approved:h}=o;xt(f)&&(s.skip=f),xt(c)&&(s.status=c),xt(d)&&(s.results?s.results.push(...d):s.results=d),h===null?s.approved=null:h!==void 0&&Object.entries(h).forEach(([y,b])=>b!==void 0&&((s.approved=s.approved??{})[y]=b))}else Tx(l,t,o);e.skip=Object.values(e.children).filter(xt).map(({skip:s})=>s).every(Boolean),e.status=Object.values(e.children).filter(xt).map(({status:s})=>s).reduce(Lu)}function Ix(e,t){const o=t.shift();if(!o)return;const a=e.children[o];a&&!Ye(a)&&Ix(a,t),(Ye(a)||Object.keys((a==null?void 0:a.children)??{}).length==0)&&delete e.children[o],Object.keys(e.children).length!=0&&(ah(e),e.skip=Object.values(e.children).filter(xt).map(({skip:l})=>l).every(Boolean),e.status=Object.values(e.children).filter(xt).map(({status:l})=>l).reduce(Lu))}function pg(e,t){const{status:o,subStrings:a}=t;if(!o&&!a.length)return e;const l={...e,children:{}};return Object.entries(e.children).forEach(([s,f])=>{if(!(!f||f.skip))if(!o&&a.some(c=>s.toLowerCase().includes(c)))l.children[s]=f;else if(Ye(f))o&&f.status&&["pending","running",o].includes(f.status)&&(l.children[s]=f);else{const c=pg(f,t);if(Object.keys(c.children).length==0)return;l.children[s]=c}}),l}function tu(e,t,o){const a=t.reduce((l,s)=>{if(l&&!Ye(l))return o&&(l.opened=o),l.children[s]},e);a&&!Ye(a)&&(a.opened=o)}function hg(e){return e.opened?Object.entries(e.children).flatMap(([t,o])=>o?[{title:t,suite:o},...Ye(o)?[]:hg(o)]:[]):[]}function l3(e){let t=0,o=0,a=0,l=0;const s=Object.values(e.children).filter(xt);let f;for(;f=s.pop();)Ye(f)?(f.status==="approved"&&a++,f.status==="success"&&t++,f.status==="failed"&&o++,f.status==="pending"&&l++):s.push(...Object.values(f.children).filter(xt));return{approvedCount:a,successCount:t,failedCount:o,pendingCount:l}}function Fx(){return[typeof __CREEVEY_SERVER_HOST__>"u"?window.location.hostname:__CREEVEY_SERVER_HOST__,typeof __CREEVEY_SERVER_PORT__>"u"?window.location.port:__CREEVEY_SERVER_PORT__].filter(Boolean).join(":")}function Nx(e,t,o){const a=e.slice(-1)[0],l=window.location.host?`${window.location.protocol}//${Fx()}${window.location.pathname=="/"&&!o?"/report":window.location.pathname.split("/").slice(0,-1).join("/")}/${encodeURI(e.slice(0,-1).join("/"))}`:encodeURI(e.slice(0,-1).join("/"));return t==a?l:`${l}/${encodeURI(a)}`}function gg(e){const t=parseFloat(getComputedStyle(e).borderTopWidth);return Number.isNaN(t)?0:t}function sc(e,t,o){const[a,l]=w.useState(!1);return w.useEffect(()=>{l(!1),Promise.all([e,t,o].map(s=>new Promise(f=>{const c=document.createElement("img");c.src=s,c.onload=f,c.onerror=f}))).then(()=>{l(!0)})},[e,t,o]),a}function Lx(e,t,o=16){const a=w.useRef(null);w.useEffect(()=>{if(e.current)return a.current=new ResizeObserver(t),a.current.observe(e.current),()=>{var l;return(l=a.current)==null?void 0:l.disconnect()}},[o,e,t])}function go(e,t,o){w.useLayoutEffect(()=>{if(!e.current)return;const a=e.current,l=gg(a);a.style.height=`${a.naturalHeight*t+l*2}px`},[e,t,o])}function mg(e,t){const[o,a]=w.useState(1),l=w.useCallback(()=>{const s=e.current;if(!s||!t){a(1);return}const f=gg(s),c=(s.getBoundingClientRect().width-f*2)/s.naturalWidth;a(Math.min(1,c))},[e,t]);return Lx(e,l),w.useLayoutEffect(l,[l]),o}function s3(e){const t=`?${Rx.stringify({testPath:e})}`;window.history.pushState({testPath:e},"",t)}function u3(){const{testPath:e}=Rx.parse(window.location.search.slice(1));return Array.isArray(e)&&e.every(t=>typeof t=="string")?e:[]}const $l=K.createContext({isReport:!0,isRunning:!1,isUpdateMode:!1,onImageNext:Jt,onImageApprove:Jt,onApproveAll:Jt,onStop:Jt,onStart:Jt,onSuiteOpen:Jt,onSuiteToggle:Jt,sidebarFocusedItem:[],setSidebarFocusedItem:Jt}),gi=()=>w.useContext($l),c3=({children:e,rootSuite:t,filter:o})=>{const{onSuiteOpen:a,onSuiteToggle:l,sidebarFocusedItem:s,setSidebarFocusedItem:f}=gi(),c=hg(pg(t,o)),d=w.useCallback(y=>c.findIndex(b=>{const v=Ye(b.suite)?Ar(b.suite):b.suite.path;return y.length===v.length&&y.every(x=>v.includes(x))}),[c]),h=w.useCallback(y=>{var b;if(s!==null)switch(y.code){case"Enter":{if(s.length===0)return;const v=Do(t,s);if(!v)return;Ye(v)||(y.preventDefault(),a(v.path,!v.opened)),Ye(v)&&((b=v.results)==null?void 0:b.length)==0&&y.preventDefault();return}case"Space":{if(y.preventDefault(),y.altKey)return;const v=Do(t,s);if(!v)return;const x=Ye(v)?Ar(v):v.path;l(x,!v.checked);return}case"ArrowDown":{const v=s.length===0?-1:d(s);if(v===c.length-1)return;const x=c[v+1],E=Ye(x.suite)?Ar(x.suite):x.suite.path;f(E);return}case"ArrowUp":{const v=s.length===0?0:d(s),x=v>0?c[v-1].suite:t,E=Ye(x)?Ar(x):x.path;f(E);return}case"ArrowRight":{if(s.length===0)return;const v=Do(t,s);if(!v||Ye(v))return;a(v.path,!0);return}case"ArrowLeft":{if(s.length===0)return;const v=Do(t,s);if(!v)return;if(!Ye(v)&&v.opened){a(v.path,!1);return}const x=Ye(v)?Ar(v):v.path;f(x.slice(0,-1));return}}},[a,l,t,c,d,s,f]);return w.useEffect(()=>(document.addEventListener("keydown",h,!1),()=>{document.removeEventListener("keydown",h,!1)}),[h]),L.jsx(L.Fragment,{children:e})};function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},ar.apply(null,arguments)}function f3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pl(e,t){return Pl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},Pl(e,t)}function d3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pl(e,t)}function ih(e){return ih=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ih(e)}function p3(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function jx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jx=function(){return!!e})()}function h3(e,t,o){if(jx())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var l=new(e.bind.apply(e,a));return o&&Pl(l,o.prototype),l}function lh(e){var t=typeof Map=="function"?new Map:void 0;return lh=function(a){if(a===null||!p3(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(a))return t.get(a);t.set(a,l)}function l(){return h3(a,arguments,ih(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Pl(l,a)},lh(e)}var ln=function(e){d3(t,e);function t(o){var a;return a=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+o+" for more information.")||this,f3(a)}return t}(lh(Error));function vp(e){return Math.round(e*255)}function g3(e,t,o){return vp(e)+","+vp(t)+","+vp(o)}function ju(e,t,o,a){if(a===void 0&&(a=g3),t===0)return a(o,o,o);var l=(e%360+360)%360/60,s=(1-Math.abs(2*o-1))*t,f=s*(1-Math.abs(l%2-1)),c=0,d=0,h=0;l>=0&&l<1?(c=s,d=f):l>=1&&l<2?(c=f,d=s):l>=2&&l<3?(d=s,h=f):l>=3&&l<4?(d=f,h=s):l>=4&&l<5?(c=f,h=s):l>=5&&l<6&&(c=s,h=f);var y=o-s/2,b=c+y,v=d+y,x=h+y;return a(b,v,x)}var s1={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function m3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return s1[t]?"#"+s1[t]:e}var v3=/^#[a-fA-F0-9]{6}$/,y3=/^#[a-fA-F0-9]{8}$/,b3=/^#[a-fA-F0-9]{3}$/,w3=/^#[a-fA-F0-9]{4}$/,yp=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,x3=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,S3=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,E3=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Tl(e){if(typeof e!="string")throw new ln(3);var t=m3(e);if(t.match(v3))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(y3)){var o=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:o}}if(t.match(b3))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(w3)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var l=yp.exec(t);if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)};var s=x3.exec(t.substring(0,50));if(s)return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])};var f=S3.exec(t);if(f){var c=parseInt(""+f[1],10),d=parseInt(""+f[2],10)/100,h=parseInt(""+f[3],10)/100,y="rgb("+ju(c,d,h)+")",b=yp.exec(y);if(!b)throw new ln(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var v=E3.exec(t.substring(0,50));if(v){var x=parseInt(""+v[1],10),E=parseInt(""+v[2],10)/100,S=parseInt(""+v[3],10)/100,k="rgb("+ju(x,E,S)+")",_=yp.exec(k);if(!_)throw new ln(4,t,k);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new ln(5)}function k3(e){var t=e.red/255,o=e.green/255,a=e.blue/255,l=Math.max(t,o,a),s=Math.min(t,o,a),f=(l+s)/2;if(l===s)return e.alpha!==void 0?{hue:0,saturation:0,lightness:f,alpha:e.alpha}:{hue:0,saturation:0,lightness:f};var c,d=l-s,h=f>.5?d/(2-l-s):d/(l+s);switch(l){case t:c=(o-a)/d+(o<a?6:0);break;case o:c=(a-t)/d+2;break;default:c=(t-o)/d+4;break}return c*=60,e.alpha!==void 0?{hue:c,saturation:h,lightness:f,alpha:e.alpha}:{hue:c,saturation:h,lightness:f}}function vo(e){return k3(Tl(e))}var C3=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},sh=C3;function Mo(e){var t=e.toString(16);return t.length===1?"0"+t:t}function bp(e){return Mo(Math.round(e*255))}function _3(e,t,o){return sh("#"+bp(e)+bp(t)+bp(o))}function $x(e,t,o){return ju(e,t,o,_3)}function O3(e,t,o){if(typeof e=="object"&&t===void 0&&o===void 0)return $x(e.hue,e.saturation,e.lightness);throw new ln(1)}function R3(e,t,o,a){if(typeof e=="object"&&t===void 0&&o===void 0&&a===void 0)return e.alpha>=1?$x(e.hue,e.saturation,e.lightness):"rgba("+ju(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ln(2)}function Mx(e,t,o){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number")return sh("#"+Mo(e)+Mo(t)+Mo(o));if(typeof e=="object"&&t===void 0&&o===void 0)return sh("#"+Mo(e.red)+Mo(e.green)+Mo(e.blue));throw new ln(6)}function uc(e,t,o,a){if(typeof e=="object"&&t===void 0&&o===void 0&&a===void 0)return e.alpha>=1?Mx(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new ln(7)}var A3=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},P3=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},T3=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},I3=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function yo(e){if(typeof e!="object")throw new ln(8);if(P3(e))return uc(e);if(A3(e))return Mx(e);if(I3(e))return R3(e);if(T3(e))return O3(e);throw new ln(8)}function Dx(e,t,o){return function(){var l=o.concat(Array.prototype.slice.call(arguments));return l.length>=t?e.apply(this,l):Dx(e,t,l)}}function xr(e){return Dx(e,e.length,[])}function F3(e,t){if(t==="transparent")return t;var o=vo(t);return yo(ar({},o,{hue:o.hue+parseFloat(e)}))}xr(F3);function mi(e,t,o){return Math.max(e,Math.min(t,o))}function N3(e,t){if(t==="transparent")return t;var o=vo(t);return yo(ar({},o,{lightness:mi(0,1,o.lightness-parseFloat(e))}))}xr(N3);function L3(e,t){if(t==="transparent")return t;var o=vo(t);return yo(ar({},o,{saturation:mi(0,1,o.saturation-parseFloat(e))}))}xr(L3);function j3(e,t){if(t==="transparent")return t;var o=vo(t);return yo(ar({},o,{lightness:mi(0,1,o.lightness+parseFloat(e))}))}xr(j3);function $3(e,t,o){if(t==="transparent")return o;if(o==="transparent")return t;if(e===0)return o;var a=Tl(t),l=ar({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),s=Tl(o),f=ar({},s,{alpha:typeof s.alpha=="number"?s.alpha:1}),c=l.alpha-f.alpha,d=parseFloat(e)*2-1,h=d*c===-1?d:d+c,y=1+d*c,b=(h/y+1)/2,v=1-b,x={red:Math.floor(l.red*b+f.red*v),green:Math.floor(l.green*b+f.green*v),blue:Math.floor(l.blue*b+f.blue*v),alpha:l.alpha*parseFloat(e)+f.alpha*(1-parseFloat(e))};return uc(x)}var M3=xr($3),zx=M3;function D3(e,t){if(t==="transparent")return t;var o=Tl(t),a=typeof o.alpha=="number"?o.alpha:1,l=ar({},o,{alpha:mi(0,1,(a*100+parseFloat(e)*100)/100)});return uc(l)}var z3=xr(D3),wp=z3;function B3(e,t){if(t==="transparent")return t;var o=vo(t);return yo(ar({},o,{saturation:mi(0,1,o.saturation+parseFloat(e))}))}xr(B3);function H3(e,t){return t==="transparent"?t:yo(ar({},vo(t),{hue:parseFloat(e)}))}xr(H3);function U3(e,t){return t==="transparent"?t:yo(ar({},vo(t),{lightness:parseFloat(e)}))}xr(U3);function W3(e,t){return t==="transparent"?t:yo(ar({},vo(t),{saturation:parseFloat(e)}))}xr(W3);function q3(e,t){return t==="transparent"?t:zx(parseFloat(e),"rgb(0, 0, 0)",t)}xr(q3);function V3(e,t){return t==="transparent"?t:zx(parseFloat(e),"rgb(255, 255, 255)",t)}xr(V3);function G3(e,t){if(t==="transparent")return t;var o=Tl(t),a=typeof o.alpha=="number"?o.alpha:1,l=ar({},o,{alpha:mi(0,1,+(a*100-parseFloat(e)*100).toFixed(2)/100)});return uc(l)}var Y3=xr(G3),Ha=Y3,cc=aw();const Bx=nw(cc);var K3=Object.create,vg=Object.defineProperty,X3=Object.getOwnPropertyDescriptor,Q3=Object.getOwnPropertyNames,Z3=Object.getPrototypeOf,J3=Object.prototype.hasOwnProperty,bo=(e,t)=>vg(e,"name",{value:t,configurable:!0}),eA=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tA=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Q3(t))!J3.call(e,l)&&l!==o&&vg(e,l,{get:()=>t[l],enumerable:!(a=X3(t,l))||a.enumerable});return e},rA=(e,t,o)=>(o=e!=null?K3(Z3(e)):{},tA(vg(o,"default",{value:e,enumerable:!0}),e)),nA=eA(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,o=Object.getPrototypeOf,a=Object.getOwnPropertySymbols?function(l){return Object.keys(l).concat(Object.getOwnPropertySymbols(l))}:Object.keys;return function(l,s){return bo(function f(c,d,h){var y,b,v,x=t.call(c),E=t.call(d);if(c===d)return!0;if(c==null||d==null)return!1;if(h.indexOf(c)>-1&&h.indexOf(d)>-1)return!0;if(h.push(c,d),x!=E||(y=a(c),b=a(d),y.length!=b.length||y.some(function(S){return!f(c[S],d[S],h)})))return!1;switch(x.slice(8,-1)){case"Symbol":return c.valueOf()==d.valueOf();case"Date":case"Number":return+c==+d||+c!=+c&&+d!=+d;case"RegExp":case"Function":case"String":case"Boolean":return""+c==""+d;case"Set":case"Map":y=c.entries(),b=d.entries();do if(!f((v=y.next()).value,b.next().value,h))return!1;while(!v.done);return!0;case"ArrayBuffer":c=new Uint8Array(c),d=new Uint8Array(d);case"DataView":c=new Uint8Array(c.buffer),d=new Uint8Array(d.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(c.length!=d.length)return!1;for(v=0;v<c.length;v++)if((v in c||v in d)&&(v in c!=v in d||!f(c[v],d[v],h)))return!1;return!0;case"Object":return f(o(c),o(d),h);default:return!1}},"n")(l,s,[])}}()});function oA(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,o,a,l)=>`${o} ${a}${l}`).replace(/([a-z])([A-Z])/g,(t,o,a)=>`${o} ${a}`).replace(/([a-z])([0-9])/gi,(t,o,a)=>`${o} ${a}`).replace(/([0-9])([a-z])/gi,(t,o,a)=>`${o} ${a}`).replace(/(\s|^)(\w)/g,(t,o,a)=>`${o}${a.toUpperCase()}`).replace(/ +/g," ").trim()}bo(oA,"toStartCaseStr");rA(nA());function aA(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Preview"}bo(aA,"isPreview");function iA(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Meta"}bo(iA,"isMeta");function lA(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}bo(lA,"isStory");var Hx=bo(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize");function uh(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}bo(uh,"matches");function sA(e,{includeStories:t,excludeStories:o}){return e!=="__esModule"&&(!t||uh(e,t))&&(!o||!uh(e,o))}bo(sA,"isExportStory");var uA=Object.create,fc=Object.defineProperty,cA=Object.getOwnPropertyDescriptor,fA=Object.getOwnPropertyNames,dA=Object.getPrototypeOf,pA=Object.prototype.hasOwnProperty,g=(e,t)=>fc(e,"name",{value:t,configurable:!0}),ru=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),te=(e,t)=>()=>(e&&(t=e(e=0)),t),Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ml=(e,t)=>{for(var o in t)fc(e,o,{get:t[o],enumerable:!0})},hA=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of fA(t))!pA.call(e,l)&&l!==o&&fc(e,l,{get:()=>t[l],enumerable:!(a=cA(t,l))||a.enumerable});return e},It=(e,t,o)=>(o=e!=null?uA(dA(e)):{},hA(t||!e||!e.__esModule?fc(o,"default",{value:e,enumerable:!0}):o,e));function ot(){return ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},ot.apply(null,arguments)}var dc=te(()=>{g(ot,"_extends")});function Ux(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var gA=te(()=>{g(Ux,"_assertThisInitialized")});function oi(e,t){return oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},oi(e,t)}var yg=te(()=>{g(oi,"_setPrototypeOf")});function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$u(e)}var mA=te(()=>{g($u,"_getPrototypeOf")}),pc=Ae((e,t)=>{(function(o){if(typeof e=="object"&&typeof t<"u")t.exports=o();else if(typeof define=="function"&&define.amd)define([],o);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.memoizerific=o()}})(function(){return g(function o(a,l,s){function f(h,y){if(!l[h]){if(!a[h]){var b=typeof ru=="function"&&ru;if(!y&&b)return b(h,!0);if(c)return c(h,!0);var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}var x=l[h]={exports:{}};a[h][0].call(x.exports,function(E){var S=a[h][1][E];return f(S||E)},x,x.exports,o,a,l,s)}return l[h].exports}g(f,"s");for(var c=typeof ru=="function"&&ru,d=0;d<s.length;d++)f(s[d]);return f},"e")({1:[function(o,a,l){a.exports=function(s){if(typeof Map!="function"||s){var f=o("./similar");return new f}else return new Map}},{"./similar":2}],2:[function(o,a,l){function s(){return this.list=[],this.lastItem=void 0,this.size=0,this}g(s,"Similar"),s.prototype.get=function(f){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,f))return this.lastItem.val;if(c=this.indexOf(f),c>=0)return this.lastItem=this.list[c],this.list[c].val},s.prototype.set=function(f,c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,f)?(this.lastItem.val=c,this):(d=this.indexOf(f),d>=0?(this.lastItem=this.list[d],this.list[d].val=c,this):(this.lastItem={key:f,val:c},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(f){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,f)&&(this.lastItem=void 0),c=this.indexOf(f),c>=0)return this.size--,this.list.splice(c,1)[0]},s.prototype.has=function(f){var c;return this.lastItem&&this.isEqual(this.lastItem.key,f)?!0:(c=this.indexOf(f),c>=0?(this.lastItem=this.list[c],!0):!1)},s.prototype.forEach=function(f,c){var d;for(d=0;d<this.size;d++)f.call(c||this,this.list[d].val,this.list[d].key,this)},s.prototype.indexOf=function(f){var c;for(c=0;c<this.size;c++)if(this.isEqual(this.list[c].key,f))return c;return-1},s.prototype.isEqual=function(f,c){return f===c||f!==f&&c!==c},a.exports=s},{}],3:[function(o,a,l){var s=o("map-or-similar");a.exports=function(h){var y=new s(!1),b=[];return function(v){var x=g(function(){var E=y,S,k,_=arguments.length-1,A=Array(_+1),R=!0,O;if((x.numArgs||x.numArgs===0)&&x.numArgs!==_+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(O=0;O<_;O++){if(A[O]={cacheItem:E,arg:arguments[O]},E.has(arguments[O])){E=E.get(arguments[O]);continue}R=!1,S=new s(!1),E.set(arguments[O],S),E=S}return R&&(E.has(arguments[_])?k=E.get(arguments[_]):R=!1),R||(k=v.apply(null,arguments),E.set(arguments[_],k)),h>0&&(A[_]={cacheItem:E,arg:arguments[_]},R?f(b,A):b.push(A),b.length>h&&c(b.shift())),x.wasMemoized=R,x.numArgs=_+1,k},"memoizerific");return x.limit=h,x.wasMemoized=!1,x.cache=y,x.lru=b,x}};function f(h,y){var b=h.length,v=y.length,x,E,S;for(E=0;E<b;E++){for(x=!0,S=0;S<v;S++)if(!d(h[E][S].arg,y[S].arg)){x=!1;break}if(x)break}h.push(h.splice(E,1)[0])}g(f,"moveToMostRecentLru");function c(h){var y=h.length,b=h[y-1],v,x;for(b.cacheItem.delete(b.arg),x=y-2;x>=0&&(b=h[x],v=b.cacheItem.get(b.arg),!v||!v.size);x--)b.cacheItem.delete(b.arg)}g(c,"removeCachedResult");function d(h,y){return h===y||h!==h&&y!==y}g(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function hc(e,t){if(e==null)return{};var o={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;o[a]=e[a]}return o}var bg=te(()=>{g(hc,"_objectWithoutPropertiesLoose")});function Wx(e,t){if(e==null)return{};var o,a,l=hc(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)o=s[a],t.indexOf(o)===-1&&{}.propertyIsEnumerable.call(e,o)&&(l[o]=e[o])}return l}var vA=te(()=>{bg(),g(Wx,"_objectWithoutProperties")});function Mu(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,a=Array(t);o<t;o++)a[o]=e[o];return a}var qx=te(()=>{g(Mu,"_arrayLikeToArray")});function Vx(e){if(Array.isArray(e))return Mu(e)}var yA=te(()=>{qx(),g(Vx,"_arrayWithoutHoles")});function Gx(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var bA=te(()=>{g(Gx,"_iterableToArray")});function Yx(e,t){if(e){if(typeof e=="string")return Mu(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Mu(e,t):void 0}}var wA=te(()=>{qx(),g(Yx,"_unsupportedIterableToArray")});function Kx(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
235
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xA=te(()=>{g(Kx,"_nonIterableSpread")});function Du(e){return Vx(e)||Gx(e)||Yx(e)||Kx()}var SA=te(()=>{yA(),bA(),wA(),xA(),g(Du,"_toConsumableArray")});function ai(e){"@babel/helpers - typeof";return ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ai(e)}var Xx=te(()=>{g(ai,"_typeof")});function Qx(e,t){if(ai(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var a=o.call(e,t||"default");if(ai(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var EA=te(()=>{Xx(),g(Qx,"toPrimitive")});function Zx(e){var t=Qx(e,"string");return ai(t)=="symbol"?t:t+""}var kA=te(()=>{Xx(),EA(),g(Zx,"toPropertyKey")});function wg(e,t,o){return(t=Zx(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var Jx=te(()=>{kA(),g(wg,"_defineProperty")});function ch(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,a)}return o}function zo(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?ch(Object(o),!0).forEach(function(a){wg(e,a,o[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ch(Object(o)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(o,a))})}return e}function eS(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function tS(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return mu[t]||(mu[t]=eS(e)),mu[t]}function rS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=e.filter(function(s){return s!=="token"}),l=tS(a);return l.reduce(function(s,f){return zo(zo({},s),o[f])},t)}function fh(e){return e.join(" ")}function nS(e,t){var o=0;return function(a){return o+=1,a.map(function(l,s){return gc({node:l,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(o,"-").concat(s)})})}}function gc(e){var t=e.node,o=e.stylesheet,a=e.style,l=a===void 0?{}:a,s=e.useInlineStyles,f=e.key,c=t.properties,d=t.type,h=t.tagName,y=t.value;if(d==="text")return y;if(h){var b=nS(o,s),v;if(!s)v=zo(zo({},c),{},{className:fh(c.className)});else{var x=Object.keys(o).reduce(function(_,A){return A.split(".").forEach(function(R){_.includes(R)||_.push(R)}),_},[]),E=c.className&&c.className.includes("token")?["token"]:[],S=c.className&&E.concat(c.className.filter(function(_){return!x.includes(_)}));v=zo(zo({},c),{},{className:fh(S)||void 0,style:rS(c.className,Object.assign({},c.style,l),o)})}var k=b(t.children);return K.createElement(h,ot({key:f},v),k)}}var mu,oS=te(()=>{dc(),Jx(),g(ch,"ownKeys"),g(zo,"_objectSpread"),g(eS,"powerSetPermutations"),mu={},g(tS,"getClassNameCombinations"),g(rS,"createStyleObject"),g(fh,"createClassNameString"),g(nS,"createChildren"),g(gc,"createElement")}),aS,CA=te(()=>{aS=g(function(e,t){var o=e.listLanguages();return o.indexOf(t)!==-1},"default")});function dh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,a)}return o}function On(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?dh(Object(o),!0).forEach(function(a){wg(e,a,o[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dh(Object(o)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(o,a))})}return e}function iS(e){return e.match(gS)}function lS(e){var t=e.lines,o=e.startingLineNumber,a=e.style;return t.map(function(l,s){var f=s+o;return K.createElement("span",{key:"line-".concat(s),className:"react-syntax-highlighter-line-number",style:typeof a=="function"?a(f):a},"".concat(f,`
|
236
|
+
`))})}function sS(e){var t=e.codeString,o=e.codeStyle,a=e.containerStyle,l=a===void 0?{float:"left",paddingRight:"10px"}:a,s=e.numberStyle,f=s===void 0?{}:s,c=e.startingLineNumber;return K.createElement("code",{style:Object.assign({},o,l)},lS({lines:t.replace(/\n$/,"").split(`
|
237
|
+
`),style:f,startingLineNumber:c}))}function uS(e){return"".concat(e.toString().length,".25em")}function xg(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Sg(e,t,o){var a={display:"inline-block",minWidth:uS(o),paddingRight:"1em",textAlign:"right",userSelect:"none"},l=typeof e=="function"?e(t):e,s=On(On({},a),l);return s}function xl(e){var t=e.children,o=e.lineNumber,a=e.lineNumberStyle,l=e.largestLineNumber,s=e.showInlineLineNumbers,f=e.lineProps,c=f===void 0?{}:f,d=e.className,h=d===void 0?[]:d,y=e.showLineNumbers,b=e.wrapLongLines,v=e.wrapLines,x=v===void 0?!1:v,E=x?On({},typeof c=="function"?c(o):c):{};if(E.className=E.className?[].concat(Du(E.className.trim().split(/\s+/)),Du(h)):h,o&&s){var S=Sg(a,o,l);t.unshift(xg(o,S))}return b&y&&(E.style=On({display:"flex"},E.style)),{type:"element",tagName:"span",properties:E,children:t}}function Eg(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],a=0;a<e.length;a++){var l=e[a];if(l.type==="text")o.push(xl({children:[l],className:Du(new Set(t))}));else if(l.children){var s=t.concat(l.properties.className);Eg(l.children,s).forEach(function(f){return o.push(f)})}}return o}function cS(e,t,o,a,l,s,f,c,d){var h,y=Eg(e.value),b=[],v=-1,x=0;function E(P,I){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return xl({children:P,lineNumber:I,lineNumberStyle:c,largestLineNumber:f,showInlineLineNumbers:l,lineProps:o,className:T,showLineNumbers:a,wrapLongLines:d,wrapLines:t})}g(E,"createWrappedLine");function S(P,I){if(a&&I&&l){var T=Sg(c,I,f);P.unshift(xg(I,T))}return P}g(S,"createUnwrappedLine");function k(P,I){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||T.length>0?E(P,I,T):S(P,I)}g(k,"createLine");for(var _=g(function(){var P=y[x],I=P.children[0].value,T=iS(I);if(T){var N=I.split(`
|
238
|
+
`);N.forEach(function(B,M){var G=a&&b.length+s,ee={type:"text",value:"".concat(B,`
|
239
|
+
`)};if(M===0){var se=y.slice(v+1,x).concat(xl({children:[ee],className:P.properties.className})),be=k(se,G);b.push(be)}else if(M===N.length-1){var ie=y[x+1]&&y[x+1].children&&y[x+1].children[0],he={type:"text",value:"".concat(B)};if(ie){var de=xl({children:[he],className:P.properties.className});y.splice(x+1,0,de)}else{var U=[he],J=k(U,G,P.properties.className);b.push(J)}}else{var Q=[ee],j=k(Q,G,P.properties.className);b.push(j)}}),v=x}x++},"_loop");x<y.length;)_();if(v!==y.length-1){var A=y.slice(v+1,y.length);if(A&&A.length){var R=a&&b.length+s,O=k(A,R);b.push(O)}}return t?b:(h=[]).concat.apply(h,b)}function fS(e){var t=e.rows,o=e.stylesheet,a=e.useInlineStyles;return t.map(function(l,s){return gc({node:l,stylesheet:o,useInlineStyles:a,key:"code-segement".concat(s)})})}function kg(e){return e&&typeof e.highlightAuto<"u"}function dS(e){var t=e.astGenerator,o=e.language,a=e.code,l=e.defaultCodeValue;if(kg(t)){var s=aS(t,o);return o==="text"?{value:l,language:"text"}:s?t.highlight(o,a):t.highlightAuto(a)}try{return o&&o!=="text"?{value:t.highlight(a,o)}:{value:l}}catch{return{value:l}}}function pS(e,t){return g(function(o){var a=o.language,l=o.children,s=o.style,f=s===void 0?t:s,c=o.customStyle,d=c===void 0?{}:c,h=o.codeTagProps,y=h===void 0?{className:a?"language-".concat(a):void 0,style:On(On({},f['code[class*="language-"]']),f['code[class*="language-'.concat(a,'"]')])}:h,b=o.useInlineStyles,v=b===void 0?!0:b,x=o.showLineNumbers,E=x===void 0?!1:x,S=o.showInlineLineNumbers,k=S===void 0?!0:S,_=o.startingLineNumber,A=_===void 0?1:_,R=o.lineNumberContainerStyle,O=o.lineNumberStyle,P=O===void 0?{}:O,I=o.wrapLines,T=o.wrapLongLines,N=T===void 0?!1:T,B=o.lineProps,M=B===void 0?{}:B,G=o.renderer,ee=o.PreTag,se=ee===void 0?"pre":ee,be=o.CodeTag,ie=be===void 0?"code":be,he=o.code,de=he===void 0?(Array.isArray(l)?l[0]:l)||"":he,U=o.astGenerator,J=Wx(o,hS);U=U||e;var Q=E?K.createElement(sS,{containerStyle:R,codeStyle:y.style||{},numberStyle:P,startingLineNumber:A,codeString:de}):null,j=f.hljs||f['pre[class*="language-"]']||{backgroundColor:"#fff"},Z=kg(U)?"hljs":"prismjs",fe=v?Object.assign({},J,{style:Object.assign({},j,d)}):Object.assign({},J,{className:J.className?"".concat(Z," ").concat(J.className):Z,style:Object.assign({},d)});if(N?y.style=On({whiteSpace:"pre-wrap"},y.style):y.style=On({whiteSpace:"pre"},y.style),!U)return K.createElement(se,fe,Q,K.createElement(ie,y,de));(I===void 0&&G||N)&&(I=!0),G=G||fS;var me=[{type:"text",value:de}],oe=dS({astGenerator:U,language:a,code:de,defaultCodeValue:me});oe.language===null&&(oe.value=me);var ce=oe.value.length;ce===1&&oe.value[0].type==="text"&&(ce=oe.value[0].value.split(`
|
240
|
+
`).length);var ve=ce+A,xe=cS(oe,I,M,E,k,A,ve,P,N);return K.createElement(se,fe,K.createElement(ie,y,!k&&Q,G({rows:xe,stylesheet:f,useInlineStyles:v})))},"SyntaxHighlighter")}var hS,gS,_A=te(()=>{vA(),SA(),Jx(),oS(),CA(),hS=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],g(dh,"ownKeys"),g(On,"_objectSpread"),gS=/\n/g,g(iS,"getNewLines"),g(lS,"getAllLineNumbers"),g(sS,"AllLineNumbers"),g(uS,"getEmWidthOfNumber"),g(xg,"getInlineLineNumber"),g(Sg,"assembleLineNumberStyles"),g(xl,"createLineElement"),g(Eg,"flattenCodeTree"),g(cS,"processLines"),g(fS,"defaultRenderer"),g(kg,"isHighlightJs"),g(dS,"getCodeTree"),g(pS,"default")}),OA=Ae((e,t)=>{t.exports=a;var o=Object.prototype.hasOwnProperty;function a(){for(var l={},s=0;s<arguments.length;s++){var f=arguments[s];for(var c in f)o.call(f,c)&&(l[c]=f[c])}return l}g(a,"extend")}),mS=Ae((e,t)=>{t.exports=a;var o=a.prototype;o.space=null,o.normal={},o.property={};function a(l,s,f){this.property=l,this.normal=s,f&&(this.space=f)}g(a,"Schema")}),RA=Ae((e,t)=>{var o=OA(),a=mS();t.exports=l;function l(s){for(var f=s.length,c=[],d=[],h=-1,y,b;++h<f;)y=s[h],c.push(y.property),d.push(y.normal),b=y.space;return new a(o.apply(null,c),o.apply(null,d),b)}g(l,"merge")}),Cg=Ae((e,t)=>{t.exports=o;function o(a){return a.toLowerCase()}g(o,"normalize")}),vS=Ae((e,t)=>{t.exports=a;var o=a.prototype;o.space=null,o.attribute=null,o.property=null,o.boolean=!1,o.booleanish=!1,o.overloadedBoolean=!1,o.number=!1,o.commaSeparated=!1,o.spaceSeparated=!1,o.commaOrSpaceSeparated=!1,o.mustUseProperty=!1,o.defined=!1;function a(l,s){this.property=l,this.attribute=s}g(a,"Info")}),_g=Ae(e=>{var t=0;e.boolean=o(),e.booleanish=o(),e.overloadedBoolean=o(),e.number=o(),e.spaceSeparated=o(),e.commaSeparated=o(),e.commaOrSpaceSeparated=o();function o(){return Math.pow(2,++t)}g(o,"increment")}),yS=Ae((e,t)=>{var o=vS(),a=_g();t.exports=f,f.prototype=new o,f.prototype.defined=!0;var l=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],s=l.length;function f(d,h,y,b){var v=-1,x;for(c(this,"space",b),o.call(this,d,h);++v<s;)x=l[v],c(this,x,(y&a[x])===a[x])}g(f,"DefinedInfo");function c(d,h,y){y&&(d[h]=y)}g(c,"mark")}),Dl=Ae((e,t)=>{var o=Cg(),a=mS(),l=yS();t.exports=s;function s(f){var c=f.space,d=f.mustUseProperty||[],h=f.attributes||{},y=f.properties,b=f.transform,v={},x={},E,S;for(E in y)S=new l(E,b(h,E),y[E],c),d.indexOf(E)!==-1&&(S.mustUseProperty=!0),v[E]=S,x[o(E)]=E,x[o(S.attribute)]=E;return new a(v,x,c)}g(s,"create")}),AA=Ae((e,t)=>{var o=Dl();t.exports=o({space:"xlink",transform:a,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function a(l,s){return"xlink:"+s.slice(5).toLowerCase()}g(a,"xlinkTransform")}),PA=Ae((e,t)=>{var o=Dl();t.exports=o({space:"xml",transform:a,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function a(l,s){return"xml:"+s.slice(3).toLowerCase()}g(a,"xmlTransform")}),TA=Ae((e,t)=>{t.exports=o;function o(a,l){return l in a?a[l]:l}g(o,"caseSensitiveTransform")}),bS=Ae((e,t)=>{var o=TA();t.exports=a;function a(l,s){return o(l,s.toLowerCase())}g(a,"caseInsensitiveTransform")}),IA=Ae((e,t)=>{var o=Dl(),a=bS();t.exports=o({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:a,properties:{xmlns:null,xmlnsXLink:null}})}),FA=Ae((e,t)=>{var o=_g(),a=Dl(),l=o.booleanish,s=o.number,f=o.spaceSeparated;t.exports=a({transform:c,properties:{ariaActiveDescendant:null,ariaAtomic:l,ariaAutoComplete:null,ariaBusy:l,ariaChecked:l,ariaColCount:s,ariaColIndex:s,ariaColSpan:s,ariaControls:f,ariaCurrent:null,ariaDescribedBy:f,ariaDetails:null,ariaDisabled:l,ariaDropEffect:f,ariaErrorMessage:null,ariaExpanded:l,ariaFlowTo:f,ariaGrabbed:l,ariaHasPopup:null,ariaHidden:l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:f,ariaLevel:s,ariaLive:null,ariaModal:l,ariaMultiLine:l,ariaMultiSelectable:l,ariaOrientation:null,ariaOwns:f,ariaPlaceholder:null,ariaPosInSet:s,ariaPressed:l,ariaReadOnly:l,ariaRelevant:null,ariaRequired:l,ariaRoleDescription:f,ariaRowCount:s,ariaRowIndex:s,ariaRowSpan:s,ariaSelected:l,ariaSetSize:s,ariaSort:null,ariaValueMax:s,ariaValueMin:s,ariaValueNow:s,ariaValueText:null,role:null}});function c(d,h){return h==="role"?h:"aria-"+h.slice(4).toLowerCase()}g(c,"ariaTransform")}),NA=Ae((e,t)=>{var o=_g(),a=Dl(),l=bS(),s=o.boolean,f=o.overloadedBoolean,c=o.booleanish,d=o.number,h=o.spaceSeparated,y=o.commaSeparated;t.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:l,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y,acceptCharset:h,accessKey:h,action:null,allow:null,allowFullScreen:s,allowPaymentRequest:s,allowUserMedia:s,alt:null,as:null,async:s,autoCapitalize:null,autoComplete:h,autoFocus:s,autoPlay:s,capture:s,charSet:null,checked:s,cite:null,className:h,cols:d,colSpan:null,content:null,contentEditable:c,controls:s,controlsList:h,coords:d|y,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s,defer:s,dir:null,dirName:null,disabled:s,download:f,draggable:c,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s,formTarget:null,headers:h,height:d,hidden:s,high:d,href:null,hrefLang:null,htmlFor:h,httpEquiv:h,id:null,imageSizes:null,imageSrcSet:y,inputMode:null,integrity:null,is:null,isMap:s,itemId:null,itemProp:h,itemRef:h,itemScope:s,itemType:h,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:s,muted:s,name:null,nonce:null,noModule:s,noValidate:s,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:s,optimum:d,pattern:null,ping:h,placeholder:null,playsInline:s,poster:null,preload:null,readOnly:s,referrerPolicy:null,rel:h,required:s,reversed:s,rows:d,rowSpan:d,sandbox:h,scope:null,scoped:s,seamless:s,selected:s,shape:null,size:d,sizes:null,slot:null,span:d,spellCheck:c,src:null,srcDoc:null,srcLang:null,srcSet:y,start:d,step:null,style:null,tabIndex:d,target:null,title:null,translate:null,type:null,typeMustMatch:s,useMap:null,value:c,width:d,wrap:null,align:null,aLink:null,archive:h,axis:null,background:null,bgColor:null,border:d,borderColor:null,bottomMargin:d,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s,declare:s,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:s,noHref:s,noShade:s,noWrap:s,object:null,profile:null,prompt:null,rev:null,rightMargin:d,rules:null,scheme:null,scrolling:c,standby:null,summary:null,text:null,topMargin:d,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s,disableRemotePlayback:s,prefix:null,property:null,results:d,security:null,unselectable:null}})}),LA=Ae((e,t)=>{var o=RA(),a=AA(),l=PA(),s=IA(),f=FA(),c=NA();t.exports=o([l,a,s,f,c])}),jA=Ae((e,t)=>{var o=Cg(),a=yS(),l=vS(),s="data";t.exports=h;var f=/^data[-\w.:]+$/i,c=/-[a-z]/g,d=/[A-Z]/g;function h(E,S){var k=o(S),_=S,A=l;return k in E.normal?E.property[E.normal[k]]:(k.length>4&&k.slice(0,4)===s&&f.test(S)&&(S.charAt(4)==="-"?_=y(S):S=b(S),A=a),new A(_,S))}g(h,"find");function y(E){var S=E.slice(5).replace(c,x);return s+S.charAt(0).toUpperCase()+S.slice(1)}g(y,"datasetToProperty");function b(E){var S=E.slice(4);return c.test(S)?E:(S=S.replace(d,v),S.charAt(0)!=="-"&&(S="-"+S),s+S)}g(b,"datasetToAttribute");function v(E){return"-"+E.toLowerCase()}g(v,"kebab");function x(E){return E.charAt(1).toUpperCase()}g(x,"camelcase")}),$A=Ae((e,t)=>{t.exports=a;var o=/[#.]/g;function a(l,s){for(var f=l||"",c=s||"div",d={},h=0,y,b,v;h<f.length;)o.lastIndex=h,v=o.exec(f),y=f.slice(h,v?v.index:f.length),y&&(b?b==="#"?d.id=y:d.className?d.className.push(y):d.className=[y]:c=y,h+=y.length),v&&(b=v[0],h++);return{type:"element",tagName:c,properties:d,children:[]}}g(a,"parse")}),MA=Ae(e=>{e.parse=l,e.stringify=s;var t="",o=" ",a=/[ \t\n\r\f]+/g;function l(f){var c=String(f||t).trim();return c===t?[]:c.split(a)}g(l,"parse");function s(f){return f.join(o).trim()}g(s,"stringify")}),DA=Ae(e=>{e.parse=l,e.stringify=s;var t=",",o=" ",a="";function l(f){for(var c=[],d=String(f||a),h=d.indexOf(t),y=0,b=!1,v;!b;)h===-1&&(h=d.length,b=!0),v=d.slice(y,h).trim(),(v||!b)&&c.push(v),y=h+1,h=d.indexOf(t,y);return c}g(l,"parse");function s(f,c){var d=c||{},h=d.padLeft===!1?a:o,y=d.padRight?o:a;return f[f.length-1]===a&&(f=f.concat(a)),f.join(y+t+h).trim()}g(s,"stringify")}),zA=Ae((e,t)=>{var o=jA(),a=Cg(),l=$A(),s=MA().parse,f=DA().parse;t.exports=d;var c={}.hasOwnProperty;function d(k,_,A){var R=A?S(A):null;return O;function O(I,T){var N=l(I,_),B=Array.prototype.slice.call(arguments,2),M=N.tagName.toLowerCase(),G;if(N.tagName=R&&c.call(R,M)?R[M]:M,T&&h(T,N)&&(B.unshift(T),T=null),T)for(G in T)P(N.properties,G,T[G]);return b(N.children,B),N.tagName==="template"&&(N.content={type:"root",children:N.children},N.children=[]),N}function P(I,T,N){var B,M,G;N==null||N!==N||(B=o(k,T),M=B.property,G=N,typeof G=="string"&&(B.spaceSeparated?G=s(G):B.commaSeparated?G=f(G):B.commaOrSpaceSeparated&&(G=s(f(G).join(" ")))),M==="style"&&typeof N!="string"&&(G=E(G)),M==="className"&&I.className&&(G=I.className.concat(G)),I[M]=v(B,M,G))}}g(d,"factory");function h(k,_){return typeof k=="string"||"length"in k||y(_.tagName,k)}g(h,"isChildren");function y(k,_){var A=_.type;return k==="input"||!A||typeof A!="string"?!1:typeof _.children=="object"&&"length"in _.children?!0:(A=A.toLowerCase(),k==="button"?A!=="menu"&&A!=="submit"&&A!=="reset"&&A!=="button":"value"in _)}g(y,"isNode");function b(k,_){var A,R;if(typeof _=="string"||typeof _=="number"){k.push({type:"text",value:String(_)});return}if(typeof _=="object"&&"length"in _){for(A=-1,R=_.length;++A<R;)b(k,_[A]);return}if(typeof _!="object"||!("type"in _))throw new Error("Expected node, nodes, or string, got `"+_+"`");k.push(_)}g(b,"addChild");function v(k,_,A){var R,O,P;if(typeof A!="object"||!("length"in A))return x(k,_,A);for(O=A.length,R=-1,P=[];++R<O;)P[R]=x(k,_,A[R]);return P}g(v,"parsePrimitives");function x(k,_,A){var R=A;return k.number||k.positiveNumber?!isNaN(R)&&R!==""&&(R=Number(R)):(k.boolean||k.overloadedBoolean)&&typeof R=="string"&&(R===""||a(A)===a(_))&&(R=!0),R}g(x,"parsePrimitive");function E(k){var _=[],A;for(A in k)_.push([A,k[A]].join(": "));return _.join("; ")}g(E,"style");function S(k){for(var _=k.length,A=-1,R={},O;++A<_;)O=k[A],R[O.toLowerCase()]=O;return R}g(S,"createAdjustMap")}),BA=Ae((e,t)=>{var o=LA(),a=zA(),l=a(o,"div");l.displayName="html",t.exports=l}),HA=Ae((e,t)=>{t.exports=BA()}),UA=Ae((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),WA=Ae((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),wS=Ae((e,t)=>{t.exports=o;function o(a){var l=typeof a=="string"?a.charCodeAt(0):a;return l>=48&&l<=57}g(o,"decimal")}),qA=Ae((e,t)=>{t.exports=o;function o(a){var l=typeof a=="string"?a.charCodeAt(0):a;return l>=97&&l<=102||l>=65&&l<=70||l>=48&&l<=57}g(o,"hexadecimal")}),VA=Ae((e,t)=>{t.exports=o;function o(a){var l=typeof a=="string"?a.charCodeAt(0):a;return l>=97&&l<=122||l>=65&&l<=90}g(o,"alphabetical")}),GA=Ae((e,t)=>{var o=VA(),a=wS();t.exports=l;function l(s){return o(s)||a(s)}g(l,"alphanumerical")}),YA=Ae((e,t)=>{var o,a=59;t.exports=l;function l(s){var f="&"+s+";",c;return o=o||document.createElement("i"),o.innerHTML=f,c=o.textContent,c.charCodeAt(c.length-1)===a&&s!=="semi"||c===f?!1:c}g(l,"decodeEntity")}),KA=Ae((e,t)=>{var o=UA(),a=WA(),l=wS(),s=qA(),f=GA(),c=YA();t.exports=j;var d={}.hasOwnProperty,h=String.fromCharCode,y=Function.prototype,b={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},v=9,x=10,E=12,S=32,k=38,_=59,A=60,R=61,O=35,P=88,I=120,T=65533,N="named",B="hexadecimal",M="decimal",G={};G[B]=16,G[M]=10;var ee={};ee[N]=f,ee[M]=l,ee[B]=s;var se=1,be=2,ie=3,he=4,de=5,U=6,J=7,Q={};Q[se]="Named character references must be terminated by a semicolon",Q[be]="Numeric character references must be terminated by a semicolon",Q[ie]="Named character references cannot be empty",Q[he]="Numeric character references cannot be empty",Q[de]="Named character references must be known",Q[U]="Numeric character references cannot be disallowed",Q[J]="Numeric character references cannot be outside the permissible Unicode range";function j(oe,ce){var ve={},xe,Ee;ce||(ce={});for(Ee in b)xe=ce[Ee],ve[Ee]=xe??b[Ee];return(ve.position.indent||ve.position.start)&&(ve.indent=ve.position.indent||[],ve.position=ve.position.start),Z(oe,ve)}g(j,"parseEntities");function Z(oe,ce){var ve=ce.additional,xe=ce.nonTerminated,Ee=ce.text,ke=ce.reference,Fe=ce.warning,Ie=ce.textContext,ue=ce.referenceContext,Ue=ce.warningContext,Ke=ce.position,Le=ce.indent||[],rt=oe.length,yt=0,Ft=-1,qe=Ke.column||1,Xe=Ke.line||1,dt="",Nt=[],gt,Nr,Lt,lt,st,Je,Ve,St,Nn,Kr,Bt,q,Y,Te,Me,je,Re,Qe,De;for(typeof ve=="string"&&(ve=ve.charCodeAt(0)),je=ut(),St=Fe?ur:y,yt--,rt++;++yt<rt;)if(st===x&&(qe=Le[Ft]||1),st=oe.charCodeAt(yt),st===k){if(Ve=oe.charCodeAt(yt+1),Ve===v||Ve===x||Ve===E||Ve===S||Ve===k||Ve===A||Ve!==Ve||ve&&Ve===ve){dt+=h(st),qe++;continue}for(Y=yt+1,q=Y,De=Y,Ve===O?(De=++q,Ve=oe.charCodeAt(De),Ve===P||Ve===I?(Te=B,De=++q):Te=M):Te=N,gt="",Bt="",lt="",Me=ee[Te],De--;++De<rt&&(Ve=oe.charCodeAt(De),!!Me(Ve));)lt+=h(Ve),Te===N&&d.call(o,lt)&&(gt=lt,Bt=o[lt]);Lt=oe.charCodeAt(De)===_,Lt&&(De++,Nr=Te===N?c(lt):!1,Nr&&(gt=lt,Bt=Nr)),Qe=1+De-Y,!Lt&&!xe||(lt?Te===N?(Lt&&!Bt?St(de,1):(gt!==lt&&(De=q+gt.length,Qe=1+De-q,Lt=!1),Lt||(Nn=gt?se:ie,ce.attribute?(Ve=oe.charCodeAt(De),Ve===R?(St(Nn,Qe),Bt=null):f(Ve)?Bt=null:St(Nn,Qe)):St(Nn,Qe))),Je=Bt):(Lt||St(be,Qe),Je=parseInt(lt,G[Te]),fe(Je)?(St(J,Qe),Je=h(T)):Je in a?(St(U,Qe),Je=a[Je]):(Kr="",me(Je)&&St(U,Qe),Je>65535&&(Je-=65536,Kr+=h(Je>>>10|55296),Je=56320|Je&1023),Je=Kr+h(Je))):Te!==N&&St(he,Qe)),Je?(pn(),je=ut(),yt=De-1,qe+=De-Y+1,Nt.push(Je),Re=ut(),Re.offset++,ke&&ke.call(ue,Je,{start:je,end:Re},oe.slice(Y-1,De)),je=Re):(lt=oe.slice(Y-1,De),dt+=lt,qe+=lt.length,yt=De-1)}else st===10&&(Xe++,Ft++,qe=0),st===st?(dt+=h(st),qe++):pn();return Nt.join("");function ut(){return{line:Xe,column:qe,offset:yt+(Ke.offset||0)}}function ur(Sr,At){var Xr=ut();Xr.column+=At,Xr.offset+=At,Fe.call(Ue,Q[Sr],Xr,Sr)}function pn(){dt&&(Nt.push(dt),Ee&&Ee.call(Ie,dt,{start:je,end:ut()}),dt="")}}g(Z,"parse");function fe(oe){return oe>=55296&&oe<=57343||oe>1114111}g(fe,"prohibited");function me(oe){return oe>=1&&oe<=8||oe===11||oe>=13&&oe<=31||oe>=127&&oe<=159||oe>=64976&&oe<=65007||(oe&65535)===65535||(oe&65535)===65534}g(me,"disallowed")}),XA=Ae((e,t)=>{var o=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},a=function(l){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,f=0,c={},d={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:g(function R(O){return O instanceof h?new h(O.type,R(O.content),O.alias):Array.isArray(O)?O.map(R):O.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},"encode"),type:g(function(R){return Object.prototype.toString.call(R).slice(8,-1)},"type"),objId:g(function(R){return R.__id||Object.defineProperty(R,"__id",{value:++f}),R.__id},"objId"),clone:g(function R(O,P){P=P||{};var I,T;switch(d.util.type(O)){case"Object":if(T=d.util.objId(O),P[T])return P[T];I={},P[T]=I;for(var N in O)O.hasOwnProperty(N)&&(I[N]=R(O[N],P));return I;case"Array":return T=d.util.objId(O),P[T]?P[T]:(I=[],P[T]=I,O.forEach(function(B,M){I[M]=R(B,P)}),I);default:return O}},"deepClone"),getLanguage:g(function(R){for(;R;){var O=s.exec(R.className);if(O)return O[1].toLowerCase();R=R.parentElement}return"none"},"getLanguage"),setLanguage:g(function(R,O){R.className=R.className.replace(RegExp(s,"gi"),""),R.classList.add("language-"+O)},"setLanguage"),currentScript:g(function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(I){var R=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(I.stack)||[])[1];if(R){var O=document.getElementsByTagName("script");for(var P in O)if(O[P].src==R)return O[P]}return null}},"currentScript"),isActive:g(function(R,O,P){for(var I="no-"+O;R;){var T=R.classList;if(T.contains(O))return!0;if(T.contains(I))return!1;R=R.parentElement}return!!P},"isActive")},languages:{plain:c,plaintext:c,text:c,txt:c,extend:g(function(R,O){var P=d.util.clone(d.languages[R]);for(var I in O)P[I]=O[I];return P},"extend"),insertBefore:g(function(R,O,P,I){I=I||d.languages;var T=I[R],N={};for(var B in T)if(T.hasOwnProperty(B)){if(B==O)for(var M in P)P.hasOwnProperty(M)&&(N[M]=P[M]);P.hasOwnProperty(B)||(N[B]=T[B])}var G=I[R];return I[R]=N,d.languages.DFS(d.languages,function(ee,se){se===G&&ee!=R&&(this[ee]=N)}),N},"insertBefore"),DFS:g(function R(O,P,I,T){T=T||{};var N=d.util.objId;for(var B in O)if(O.hasOwnProperty(B)){P.call(O,B,O[B],I||B);var M=O[B],G=d.util.type(M);G==="Object"&&!T[N(M)]?(T[N(M)]=!0,R(M,P,null,T)):G==="Array"&&!T[N(M)]&&(T[N(M)]=!0,R(M,P,B,T))}},"DFS")},plugins:{},highlightAll:g(function(R,O){d.highlightAllUnder(document,R,O)},"highlightAll"),highlightAllUnder:g(function(R,O,P){var I={callback:P,container:R,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",I),I.elements=Array.prototype.slice.apply(I.container.querySelectorAll(I.selector)),d.hooks.run("before-all-elements-highlight",I);for(var T=0,N;N=I.elements[T++];)d.highlightElement(N,O===!0,I.callback)},"highlightAllUnder"),highlightElement:g(function(R,O,P){var I=d.util.getLanguage(R),T=d.languages[I];d.util.setLanguage(R,I);var N=R.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&d.util.setLanguage(N,I);var B=R.textContent,M={element:R,language:I,grammar:T,code:B};function G(se){M.highlightedCode=se,d.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,d.hooks.run("after-highlight",M),d.hooks.run("complete",M),P&&P.call(M.element)}if(g(G,"insertHighlightedCode"),d.hooks.run("before-sanity-check",M),N=M.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!M.code){d.hooks.run("complete",M),P&&P.call(M.element);return}if(d.hooks.run("before-highlight",M),!M.grammar){G(d.util.encode(M.code));return}if(O&&l.Worker){var ee=new Worker(d.filename);ee.onmessage=function(se){G(se.data)},ee.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else G(d.highlight(M.code,M.grammar,M.language))},"highlightElement"),highlight:g(function(R,O,P){var I={code:R,grammar:O,language:P};if(d.hooks.run("before-tokenize",I),!I.grammar)throw new Error('The language "'+I.language+'" has no grammar.');return I.tokens=d.tokenize(I.code,I.grammar),d.hooks.run("after-tokenize",I),h.stringify(d.util.encode(I.tokens),I.language)},"highlight"),tokenize:g(function(R,O){var P=O.rest;if(P){for(var I in P)O[I]=P[I];delete O.rest}var T=new v;return x(T,T.head,R),b(R,T,O,T.head,0),S(T)},"tokenize"),hooks:{all:{},add:g(function(R,O){var P=d.hooks.all;P[R]=P[R]||[],P[R].push(O)},"add"),run:g(function(R,O){var P=d.hooks.all[R];if(!(!P||!P.length))for(var I=0,T;T=P[I++];)T(O)},"run")},Token:h};l.Prism=d;function h(R,O,P,I){this.type=R,this.content=O,this.alias=P,this.length=(I||"").length|0}g(h,"Token"),h.stringify=g(function R(O,P){if(typeof O=="string")return O;if(Array.isArray(O)){var I="";return O.forEach(function(G){I+=R(G,P)}),I}var T={type:O.type,content:R(O.content,P),tag:"span",classes:["token",O.type],attributes:{},language:P},N=O.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(T.classes,N):T.classes.push(N)),d.hooks.run("wrap",T);var B="";for(var M in T.attributes)B+=" "+M+'="'+(T.attributes[M]||"").replace(/"/g,""")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+B+">"+T.content+"</"+T.tag+">"},"stringify");function y(R,O,P,I){R.lastIndex=O;var T=R.exec(P);if(T&&I&&T[1]){var N=T[1].length;T.index+=N,T[0]=T[0].slice(N)}return T}g(y,"matchPattern");function b(R,O,P,I,T,N){for(var B in P)if(!(!P.hasOwnProperty(B)||!P[B])){var M=P[B];M=Array.isArray(M)?M:[M];for(var G=0;G<M.length;++G){if(N&&N.cause==B+","+G)return;var ee=M[G],se=ee.inside,be=!!ee.lookbehind,ie=!!ee.greedy,he=ee.alias;if(ie&&!ee.pattern.global){var de=ee.pattern.toString().match(/[imsuy]*$/)[0];ee.pattern=RegExp(ee.pattern.source,de+"g")}for(var U=ee.pattern||ee,J=I.next,Q=T;J!==O.tail&&!(N&&Q>=N.reach);Q+=J.value.length,J=J.next){var j=J.value;if(O.length>R.length)return;if(!(j instanceof h)){var Z=1,fe;if(ie){if(fe=y(U,Q,R,be),!fe||fe.index>=R.length)break;var ve=fe.index,me=fe.index+fe[0].length,oe=Q;for(oe+=J.value.length;ve>=oe;)J=J.next,oe+=J.value.length;if(oe-=J.value.length,Q=oe,J.value instanceof h)continue;for(var ce=J;ce!==O.tail&&(oe<me||typeof ce.value=="string");ce=ce.next)Z++,oe+=ce.value.length;Z--,j=R.slice(Q,oe),fe.index-=Q}else if(fe=y(U,0,j,be),!fe)continue;var ve=fe.index,xe=fe[0],Ee=j.slice(0,ve),ke=j.slice(ve+xe.length),Fe=Q+j.length;N&&Fe>N.reach&&(N.reach=Fe);var Ie=J.prev;Ee&&(Ie=x(O,Ie,Ee),Q+=Ee.length),E(O,Ie,Z);var ue=new h(B,se?d.tokenize(xe,se):xe,he,xe);if(J=x(O,Ie,ue),ke&&x(O,J,ke),Z>1){var Ue={cause:B+","+G,reach:Fe};b(R,O,P,J.prev,Q,Ue),N&&Ue.reach>N.reach&&(N.reach=Ue.reach)}}}}}}g(b,"matchGrammar");function v(){var R={value:null,prev:null,next:null},O={value:null,prev:R,next:null};R.next=O,this.head=R,this.tail=O,this.length=0}g(v,"LinkedList");function x(R,O,P){var I=O.next,T={value:P,prev:O,next:I};return O.next=T,I.prev=T,R.length++,T}g(x,"addAfter");function E(R,O,P){for(var I=O.next,T=0;T<P&&I!==R.tail;T++)I=I.next;O.next=I,I.prev=O,R.length-=T}g(E,"removeRange");function S(R){for(var O=[],P=R.head.next;P!==R.tail;)O.push(P.value),P=P.next;return O}if(g(S,"toArray"),!l.document)return l.addEventListener&&(d.disableWorkerMessageHandler||l.addEventListener("message",function(R){var O=JSON.parse(R.data),P=O.language,I=O.code,T=O.immediateClose;l.postMessage(d.highlight(I,d.languages[P],P)),T&&l.close()},!1)),d;var k=d.util.currentScript();k&&(d.filename=k.src,k.hasAttribute("data-manual")&&(d.manual=!0));function _(){d.manual||d.highlightAll()}if(g(_,"highlightAutomaticallyCallback"),!d.manual){var A=document.readyState;A==="loading"||A==="interactive"&&k&&k.defer?document.addEventListener("DOMContentLoaded",_):window.requestAnimationFrame?window.requestAnimationFrame(_):window.setTimeout(_,16)}return d}(o);typeof t<"u"&&t.exports&&(t.exports=a),typeof global<"u"&&(global.Prism=a)}),xS=Ae((e,t)=>{t.exports=o,o.displayName="markup",o.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function o(a){a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(l){l.type==="entity"&&(l.attributes.title=l.content.value.replace(/&/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:g(function(l,s){var f={};f["language-"+s]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[s]},f.cdata=/^<!\[CDATA\[|\]\]>$/i;var c={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:f}};c["language-"+s]={pattern:/[\s\S]+/,inside:a.languages[s]};var d={};d[l]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return l}),"i"),lookbehind:!0,greedy:!0,inside:c},a.languages.insertBefore("markup","cdata",d)},"addInlined")}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:g(function(l,s){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+l+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:a.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml}g(o,"markup")}),SS=Ae((e,t)=>{t.exports=o,o.displayName="css",o.aliases=[];function o(a){(function(l){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;l.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},l.languages.css.atrule.inside.rest=l.languages.css;var f=l.languages.markup;f&&(f.tag.addInlined("style","css"),f.tag.addAttribute("style","css"))})(a)}g(o,"css")}),QA=Ae((e,t)=>{t.exports=o,o.displayName="clike",o.aliases=[];function o(a){a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}g(o,"clike")}),ZA=Ae((e,t)=>{t.exports=o,o.displayName="javascript",o.aliases=["js"];function o(a){a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript}g(o,"javascript")}),JA=Ae((e,t)=>{var o=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},a=T();o.Prism={manual:!0,disableWorkerMessageHandler:!0};var l=HA(),s=KA(),f=XA(),c=xS(),d=SS(),h=QA(),y=ZA();a();var b={}.hasOwnProperty;function v(){}g(v,"Refractor"),v.prototype=f;var x=new v;t.exports=x,x.highlight=k,x.register=E,x.alias=S,x.registered=_,x.listLanguages=A,E(c),E(d),E(h),E(y),x.util.encode=P,x.Token.stringify=R;function E(N){if(typeof N!="function"||!N.displayName)throw new Error("Expected `function` for `grammar`, got `"+N+"`");x.languages[N.displayName]===void 0&&N(x)}g(E,"register");function S(N,B){var M=x.languages,G=N,ee,se,be,ie;B&&(G={},G[N]=B);for(ee in G)for(se=G[ee],se=typeof se=="string"?[se]:se,be=se.length,ie=-1;++ie<be;)M[se[ie]]=M[ee]}g(S,"alias");function k(N,B){var M=f.highlight,G;if(typeof N!="string")throw new Error("Expected `string` for `value`, got `"+N+"`");if(x.util.type(B)==="Object")G=B,B=null;else{if(typeof B!="string")throw new Error("Expected `string` for `name`, got `"+B+"`");if(b.call(x.languages,B))G=x.languages[B];else throw new Error("Unknown language: `"+B+"` is not registered")}return M.call(this,N,G,B)}g(k,"highlight");function _(N){if(typeof N!="string")throw new Error("Expected `string` for `language`, got `"+N+"`");return b.call(x.languages,N)}g(_,"registered");function A(){var N=x.languages,B=[],M;for(M in N)b.call(N,M)&&typeof N[M]=="object"&&B.push(M);return B}g(A,"listLanguages");function R(N,B,M){var G;return typeof N=="string"?{type:"text",value:N}:x.util.type(N)==="Array"?O(N,B):(G={type:N.type,content:x.Token.stringify(N.content,B,M),tag:"span",classes:["token",N.type],attributes:{},language:B,parent:M},N.alias&&(G.classes=G.classes.concat(N.alias)),x.hooks.run("wrap",G),l(G.tag+"."+G.classes.join("."),I(G.attributes),G.content))}g(R,"stringify");function O(N,B){for(var M=[],G=N.length,ee=-1,se;++ee<G;)se=N[ee],se!==""&&se!==null&&se!==void 0&&M.push(se);for(ee=-1,G=M.length;++ee<G;)se=M[ee],M[ee]=x.Token.stringify(se,B,M);return M}g(O,"stringifyAll");function P(N){return N}g(P,"encode");function I(N){var B;for(B in N)N[B]=s(N[B]);return N}g(I,"attributes");function T(){var N="Prism"in o,B=N?o.Prism:void 0;return M;function M(){N?o.Prism=B:delete o.Prism,N=void 0,B=void 0}}g(T,"capture")}),nu,ou,vu,eP=te(()=>{_A(),nu=It(JA()),ou=pS(nu.default,{}),ou.registerLanguage=function(e,t){return nu.default.register(t)},ou.alias=function(e,t){return nu.default.alias(e,t)},vu=ou}),tP=te(()=>{oS()}),rP=Ae((e,t)=>{t.exports=o,o.displayName="bash",o.aliases=["shell"];function o(a){(function(l){var s="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",f={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},c={bash:f,environment:{pattern:RegExp("\\$"+s),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+s),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};l.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+s),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:c},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:f}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:c},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:c.entity}}],environment:{pattern:RegExp("\\$?"+s),alias:"constant"},variable:c.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},f.inside=l.languages.bash;for(var d=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],h=c.variable[1].inside,y=0;y<d.length;y++)h[d[y]]=l.languages.bash[d[y]];l.languages.shell=l.languages.bash})(a)}g(o,"bash")}),u1,ES,nP=te(()=>{u1=It(rP()),ES=u1.default}),c1,kS,oP=te(()=>{c1=It(SS()),kS=c1.default}),aP=Ae((e,t)=>{t.exports=o,o.displayName="graphql",o.aliases=[];function o(a){a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",g(function(l){if(l.language!=="graphql")return;var s=l.tokens.filter(function(A){return typeof A!="string"&&A.type!=="comment"&&A.type!=="scalar"}),f=0;function c(A){return s[f+A]}g(c,"getToken");function d(A,R){R=R||0;for(var O=0;O<A.length;O++){var P=c(O+R);if(!P||P.type!==A[O])return!1}return!0}g(d,"isTokenType");function h(A,R){for(var O=1,P=f;P<s.length;P++){var I=s[P],T=I.content;if(I.type==="punctuation"&&typeof T=="string"){if(A.test(T))O++;else if(R.test(T)&&(O--,O===0))return P}}return-1}g(h,"findClosingBracket");function y(A,R){var O=A.alias;O?Array.isArray(O)||(A.alias=O=[O]):A.alias=O=[],O.push(R)}for(g(y,"addAlias");f<s.length;){var b=s[f++];if(b.type==="keyword"&&b.content==="mutation"){var v=[];if(d(["definition-mutation","punctuation"])&&c(1).content==="("){f+=2;var x=h(/^\($/,/^\)$/);if(x===-1)continue;for(;f<x;f++){var E=c(0);E.type==="variable"&&(y(E,"variable-input"),v.push(E.content))}f=x+1}if(d(["punctuation","property-query"])&&c(0).content==="{"&&(f++,y(c(0),"property-mutation"),v.length>0)){var S=h(/^\{$/,/^\}$/);if(S===-1)continue;for(var k=f;k<S;k++){var _=s[k];_.type==="variable"&&v.indexOf(_.content)>=0&&y(_,"variable-input")}}}}},"afterTokenizeGraphql"))}g(o,"graphql")}),f1,CS,iP=te(()=>{f1=It(aP()),CS=f1.default}),lP=Ae((e,t)=>{t.exports=o,o.displayName="jsExtras",o.aliases=[];function o(a){(function(l){l.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+l.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),l.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+l.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),l.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function s(b,v){return RegExp(b.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),v)}g(s,"withId"),l.languages.insertBefore("javascript","keyword",{imports:{pattern:s(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:l.languages.javascript},exports:{pattern:s(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:l.languages.javascript}}),l.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),l.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),l.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:s(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var f=["function","function-variable","method","method-variable","property-access"],c=0;c<f.length;c++){var d=f[c],h=l.languages.javascript[d];l.util.type(h)==="RegExp"&&(h=l.languages.javascript[d]={pattern:h});var y=h.inside||{};h.inside=y,y["maybe-class-name"]=/^[A-Z][\s\S]*/}})(a)}g(o,"jsExtras")}),d1,_S,sP=te(()=>{d1=It(lP()),_S=d1.default}),uP=Ae((e,t)=>{t.exports=o,o.displayName="json",o.aliases=["webmanifest"];function o(a){a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json}g(o,"json")}),p1,OS,cP=te(()=>{p1=It(uP()),OS=p1.default}),RS=Ae((e,t)=>{t.exports=o,o.displayName="jsx",o.aliases=[];function o(a){(function(l){var s=l.util.clone(l.languages.javascript),f=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,d=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function h(v,x){return v=v.replace(/<S>/g,function(){return f}).replace(/<BRACES>/g,function(){return c}).replace(/<SPREAD>/g,function(){return d}),RegExp(v,x)}g(h,"re"),d=h(d).source,l.languages.jsx=l.languages.extend("markup",s),l.languages.jsx.tag.pattern=h(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),l.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,l.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,l.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,l.languages.jsx.tag.inside.comment=s.comment,l.languages.insertBefore("inside","attr-name",{spread:{pattern:h(/<SPREAD>/.source),inside:l.languages.jsx}},l.languages.jsx.tag),l.languages.insertBefore("inside","special-attr",{script:{pattern:h(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:l.languages.jsx}}},l.languages.jsx.tag);var y=g(function(v){return v?typeof v=="string"?v:typeof v.content=="string"?v.content:v.content.map(y).join(""):""},"stringifyToken"),b=g(function(v){for(var x=[],E=0;E<v.length;E++){var S=v[E],k=!1;if(typeof S!="string"&&(S.type==="tag"&&S.content[0]&&S.content[0].type==="tag"?S.content[0].content[0].content==="</"?x.length>0&&x[x.length-1].tagName===y(S.content[0].content[1])&&x.pop():S.content[S.content.length-1].content==="/>"||x.push({tagName:y(S.content[0].content[1]),openedBraces:0}):x.length>0&&S.type==="punctuation"&&S.content==="{"?x[x.length-1].openedBraces++:x.length>0&&x[x.length-1].openedBraces>0&&S.type==="punctuation"&&S.content==="}"?x[x.length-1].openedBraces--:k=!0),(k||typeof S=="string")&&x.length>0&&x[x.length-1].openedBraces===0){var _=y(S);E<v.length-1&&(typeof v[E+1]=="string"||v[E+1].type==="plain-text")&&(_+=y(v[E+1]),v.splice(E+1,1)),E>0&&(typeof v[E-1]=="string"||v[E-1].type==="plain-text")&&(_=y(v[E-1])+_,v.splice(E-1,1),E--),v[E]=new l.Token("plain-text",_,null,_)}S.content&&typeof S.content!="string"&&b(S.content)}},"walkTokens");l.hooks.add("after-tokenize",function(v){v.language!=="jsx"&&v.language!=="tsx"||b(v.tokens)})})(a)}g(o,"jsx")}),h1,AS,fP=te(()=>{h1=It(RS()),AS=h1.default}),dP=Ae((e,t)=>{t.exports=o,o.displayName="markdown",o.aliases=["md"];function o(a){(function(l){var s=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function f(E){return E=E.replace(/<inner>/g,function(){return s}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+E+")")}g(f,"createInline");var c=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,d=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return c}),h=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;l.languages.markdown=l.languages.extend("markup",{}),l.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:l.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+d+h+"(?:"+d+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+d+h+")(?:"+d+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(c),inside:l.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+d+")"+h+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+d+"$"),inside:{"table-header":{pattern:RegExp(c),alias:"important",inside:l.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:f(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:f(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:f(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:f(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(E){["url","bold","italic","strike","code-snippet"].forEach(function(S){E!==S&&(l.languages.markdown[E].inside.content.inside[S]=l.languages.markdown[S])})}),l.hooks.add("after-tokenize",function(E){if(E.language!=="markdown"&&E.language!=="md")return;function S(k){if(!(!k||typeof k=="string"))for(var _=0,A=k.length;_<A;_++){var R=k[_];if(R.type!=="code"){S(R.content);continue}var O=R.content[1],P=R.content[3];if(O&&P&&O.type==="code-language"&&P.type==="code-block"&&typeof O.content=="string"){var I=O.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");I=(/[a-z][\w-]*/i.exec(I)||[""])[0].toLowerCase();var T="language-"+I;P.alias?typeof P.alias=="string"?P.alias=[P.alias,T]:P.alias.push(T):P.alias=[T]}}}g(S,"walkTokens"),S(E.tokens)}),l.hooks.add("wrap",function(E){if(E.type==="code-block"){for(var S="",k=0,_=E.classes.length;k<_;k++){var A=E.classes[k],R=/language-(.+)/.exec(A);if(R){S=R[1];break}}var O=l.languages[S];if(O)E.content=l.highlight(x(E.content.value),O,S);else if(S&&S!=="none"&&l.plugins.autoloader){var P="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);E.attributes.id=P,l.plugins.autoloader.loadLanguages(S,function(){var I=document.getElementById(P);I&&(I.innerHTML=l.highlight(I.textContent,l.languages[S],S))})}}});var y=RegExp(l.languages.markup.tag.pattern.source,"gi"),b={amp:"&",lt:"<",gt:">",quot:'"'},v=String.fromCodePoint||String.fromCharCode;function x(E){var S=E.replace(y,"");return S=S.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(k,_){if(_=_.toLowerCase(),_[0]==="#"){var A;return _[1]==="x"?A=parseInt(_.slice(2),16):A=Number(_.slice(1)),v(A)}else{var R=b[_];return R||k}}),S}g(x,"textContent"),l.languages.md=l.languages.markdown})(a)}g(o,"markdown")}),g1,PS,pP=te(()=>{g1=It(dP()),PS=g1.default}),m1,TS,hP=te(()=>{m1=It(xS()),TS=m1.default}),IS=Ae((e,t)=>{t.exports=o,o.displayName="typescript",o.aliases=["ts"];function o(a){(function(l){l.languages.typescript=l.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),l.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete l.languages.typescript.parameter,delete l.languages.typescript["literal-property"];var s=l.languages.extend("typescript",{});delete s["class-name"],l.languages.typescript["class-name"].inside=s,l.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:s}}}}),l.languages.ts=l.languages.typescript})(a)}g(o,"typescript")}),gP=Ae((e,t)=>{var o=RS(),a=IS();t.exports=l,l.displayName="tsx",l.aliases=[];function l(s){s.register(o),s.register(a),function(f){var c=f.util.clone(f.languages.typescript);f.languages.tsx=f.languages.extend("jsx",c),delete f.languages.tsx.parameter,delete f.languages.tsx["literal-property"];var d=f.languages.tsx.tag;d.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+d.pattern.source+")",d.pattern.flags),d.lookbehind=!0}(s)}g(l,"tsx")}),v1,FS,mP=te(()=>{v1=It(gP()),FS=v1.default}),y1,NS,vP=te(()=>{y1=It(IS()),NS=y1.default}),yP=Ae((e,t)=>{t.exports=o,o.displayName="yaml",o.aliases=["yml"];function o(a){(function(l){var s=/[*&][^\s[\]{},]+/,f=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,c="(?:"+f.source+"(?:[ ]+"+s.source+")?|"+s.source+"(?:[ ]+"+f.source+")?)",d=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),h=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function y(b,v){v=(v||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return c}).replace(/<<value>>/g,function(){return b});return RegExp(x,v)}g(y,"createValuePattern"),l.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return c})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return c}).replace(/<<key>>/g,function(){return"(?:"+d+"|"+h+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:y(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:y(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:y(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:y(h),lookbehind:!0,greedy:!0},number:{pattern:y(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:f,important:s,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},l.languages.yml=l.languages.yaml})(a)}g(o,"yaml")}),b1,LS,bP=te(()=>{b1=It(yP()),LS=b1.default}),w1,xp,jS,$S=te(()=>{w1=D.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),xp=D.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),xp.displayName="ActionButton",jS=g(({actionItems:e,...t})=>K.createElement(w1,{...t},e.map(({title:o,className:a,onClick:l,disabled:s},f)=>K.createElement(xp,{key:f,className:a,onClick:l,disabled:!!s},o))),"ActionBar")});function MS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Og(...e){return t=>e.forEach(o=>MS(o,t))}function uo(...e){return w.useCallback(Og(...e),e)}var Rg=te(()=>{g(MS,"setRef"),g(Og,"composeRefs"),g(uo,"useComposedRefs")});function x1(e){return w.isValidElement(e)&&e.type===DS}function S1(e,t){let o={...t};for(let a in t){let l=e[a],s=t[a];/^on[A-Z]/.test(a)?l&&s?o[a]=(...f)=>{s(...f),l(...f)}:l&&(o[a]=l):a==="style"?o[a]={...l,...s}:a==="className"&&(o[a]=[l,s].filter(Boolean).join(" "))}return{...e,...o}}function E1(e){var a,l;let t=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var ph,au,DS,wP=te(()=>{Rg(),ph=w.forwardRef((e,t)=>{let{children:o,...a}=e,l=w.Children.toArray(o),s=l.find(x1);if(s){let f=s.props.children,c=l.map(d=>d===s?w.Children.count(f)>1?w.Children.only(null):w.isValidElement(f)?f.props.children:null:d);return L.jsx(au,{...a,ref:t,children:w.isValidElement(f)?w.cloneElement(f,void 0,c):null})}return L.jsx(au,{...a,ref:t,children:o})}),ph.displayName="Slot",au=w.forwardRef((e,t)=>{let{children:o,...a}=e;if(w.isValidElement(o)){let l=E1(o);return w.cloneElement(o,{...S1(a,o.props),ref:t?Og(t,l):l})}return w.Children.count(o)>1?w.Children.only(null):null}),au.displayName="SlotClone",DS=g(({children:e})=>L.jsx(L.Fragment,{children:e}),"Slottable"),g(x1,"isSlottable"),g(S1,"mergeProps"),g(E1,"getElementRef")}),k1,$a,xP=te(()=>{wP(),k1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$a=k1.reduce((e,t)=>{let o=w.forwardRef((a,l)=>{let{asChild:s,...f}=a,c=s?ph:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),L.jsx(c,{...f,ref:l})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{})}),zu,zS=te(()=>{zu=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{}});function BS(e,t){return w.useReducer((o,a)=>t[o][a]??o,e)}function C1(e){let[t,o]=w.useState(),a=w.useRef({}),l=w.useRef(e),s=w.useRef("none"),f=e?"mounted":"unmounted",[c,d]=BS(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{let h=pl(a.current);s.current=c==="mounted"?h:"none"},[c]),zu(()=>{let h=a.current,y=l.current;if(y!==e){let b=s.current,v=pl(h);e?d("MOUNT"):v==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(y&&b!==v?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,d]),zu(()=>{if(t){let h=g(b=>{let v=pl(a.current).includes(b.animationName);b.target===t&&v&&cc.flushSync(()=>d("ANIMATION_END"))},"handleAnimationEnd"),y=g(b=>{b.target===t&&(s.current=pl(a.current))},"handleAnimationStart");return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:w.useCallback(h=>{h&&(a.current=getComputedStyle(h)),o(h)},[])}}function pl(e){return(e==null?void 0:e.animationName)||"none"}function _1(e){var a,l;let t=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var za,SP=te(()=>{"use client";Rg(),zS(),g(BS,"useStateMachine"),za=g(e=>{let{present:t,children:o}=e,a=C1(t),l=typeof o=="function"?o({present:a.isPresent}):w.Children.only(o),s=uo(a.ref,_1(l));return typeof o=="function"||a.isPresent?w.cloneElement(l,{ref:s}):null},"Presence"),za.displayName="Presence",g(C1,"usePresence"),g(pl,"getAnimationName"),g(_1,"getElementRef")});function HS(e,t=[]){let o=[];function a(s,f){let c=w.createContext(f),d=o.length;o=[...o,f];function h(b){let{scope:v,children:x,...E}=b,S=(v==null?void 0:v[e][d])||c,k=w.useMemo(()=>E,Object.values(E));return L.jsx(S.Provider,{value:k,children:x})}g(h,"Provider");function y(b,v){let x=(v==null?void 0:v[e][d])||c,E=w.useContext(x);if(E)return E;if(f!==void 0)return f;throw new Error(`\`${b}\` must be used within \`${s}\``)}return g(y,"useContext2"),h.displayName=s+"Provider",[h,y]}g(a,"createContext3");let l=g(()=>{let s=o.map(f=>w.createContext(f));return g(function(f){let c=(f==null?void 0:f[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...f,[e]:c}}),[f,c])},"useScope")},"createScope");return l.scopeName=e,[a,US(l,...t)]}function US(...e){let t=e[0];if(e.length===1)return t;let o=g(()=>{let a=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return g(function(l){let s=a.reduce((f,{useScope:c,scopeName:d})=>{let h=c(l)[`__scope${d}`];return{...f,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])},"useComposedScopes")},"createScope");return o.scopeName=t.scopeName,o}var EP=te(()=>{g(HS,"createContextScope"),g(US,"composeContextScopes")});function po(e){let t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...o)=>{var a;return(a=t.current)==null?void 0:a.call(t,...o)},[])}var kP=te(()=>{g(po,"useCallbackRef")});function WS(e){let t=w.useContext(qS);return e||t||"ltr"}var qS,CP=te(()=>{qS=w.createContext(void 0),g(WS,"useDirection")});function VS(e,[t,o]){return Math.min(o,Math.max(t,e))}var _P=te(()=>{g(VS,"clamp")});function oo(e,t,{checkForDefaultPrevented:o=!0}={}){return g(function(a){if(e==null||e(a),o===!1||!a.defaultPrevented)return t==null?void 0:t(a)},"handleEvent")}var OP=te(()=>{g(oo,"composeEventHandlers")});function O1(e,t){return w.useReducer((o,a)=>t[o][a]??o,e)}function il(e){return e?parseInt(e,10):0}function hh(e,t){let o=e/t;return isNaN(o)?0:o}function Sl(e){let t=hh(e.viewport,e.content),o=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,a=(e.scrollbar.size-o)*t;return Math.max(a,18)}function R1(e,t,o,a="ltr"){let l=Sl(o),s=l/2,f=t||s,c=l-f,d=o.scrollbar.paddingStart+f,h=o.scrollbar.size-o.scrollbar.paddingEnd-c,y=o.content-o.viewport,b=a==="ltr"?[0,y]:[y*-1,0];return Ag([d,h],b)(e)}function Sp(e,t,o="ltr"){let a=Sl(t),l=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-l,f=t.content-t.viewport,c=s-a,d=o==="ltr"?[0,f]:[f*-1,0],h=VS(e,d);return Ag([0,f],[0,c])(h)}function Ag(e,t){return o=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let a=(t[1]-t[0])/(e[1]-e[0]);return t[0]+a*(o-e[0])}}function Ep(e,t){return e>0&&e<t}function ll(e,t){let o=po(e),a=w.useRef(0);return w.useEffect(()=>()=>window.clearTimeout(a.current),[]),w.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(o,t)},[o,t])}function jo(e,t){let o=po(t);zu(()=>{let a=0;if(e){let l=new ResizeObserver(()=>{cancelAnimationFrame(a),a=window.requestAnimationFrame(o)});return l.observe(e),()=>{window.cancelAnimationFrame(a),l.unobserve(e)}}},[e,o])}function A1(e,t){let{asChild:o,children:a}=e;if(!o)return typeof t=="function"?t(a):t;let l=w.Children.only(a);return w.cloneElement(l,{children:typeof t=="function"?t(l.props.children):t})}var iu,kp,RP,P1,hr,Cp,_p,Op,Hr,Rp,T1,I1,Ap,lu,F1,N1,L1,Pp,Tp,sl,Ip,j1,su,Fp,$1,M1,GS,YS,KS,XS,QS,AP=te(()=>{"use client";xP(),SP(),EP(),Rg(),kP(),CP(),zS(),_P(),OP(),g(O1,"useStateMachine"),iu="ScrollArea",[kp,RP]=HS(iu),[P1,hr]=kp(iu),Cp=w.forwardRef((e,t)=>{let{__scopeScrollArea:o,type:a="hover",dir:l,scrollHideDelay:s=600,...f}=e,[c,d]=w.useState(null),[h,y]=w.useState(null),[b,v]=w.useState(null),[x,E]=w.useState(null),[S,k]=w.useState(null),[_,A]=w.useState(0),[R,O]=w.useState(0),[P,I]=w.useState(!1),[T,N]=w.useState(!1),B=uo(t,G=>d(G)),M=WS(l);return L.jsx(P1,{scope:o,type:a,dir:M,scrollHideDelay:s,scrollArea:c,viewport:h,onViewportChange:y,content:b,onContentChange:v,scrollbarX:x,onScrollbarXChange:E,scrollbarXEnabled:P,onScrollbarXEnabledChange:I,scrollbarY:S,onScrollbarYChange:k,scrollbarYEnabled:T,onScrollbarYEnabledChange:N,onCornerWidthChange:A,onCornerHeightChange:O,children:L.jsx($a.div,{dir:M,...f,ref:B,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":R+"px",...e.style}})})}),Cp.displayName=iu,_p="ScrollAreaViewport",Op=w.forwardRef((e,t)=>{let{__scopeScrollArea:o,children:a,asChild:l,nonce:s,...f}=e,c=hr(_p,o),d=w.useRef(null),h=uo(t,d,c.onViewportChange);return L.jsxs(L.Fragment,{children:[L.jsx("style",{dangerouslySetInnerHTML:{__html:`
|
241
|
+
[data-radix-scroll-area-viewport] {
|
242
|
+
scrollbar-width: none;
|
243
|
+
-ms-overflow-style: none;
|
244
|
+
-webkit-overflow-scrolling: touch;
|
245
|
+
}
|
246
|
+
[data-radix-scroll-area-viewport]::-webkit-scrollbar {
|
247
|
+
display: none;
|
248
|
+
}
|
249
|
+
:where([data-radix-scroll-area-viewport]) {
|
250
|
+
display: flex;
|
251
|
+
flex-direction: column;
|
252
|
+
align-items: stretch;
|
253
|
+
}
|
254
|
+
:where([data-radix-scroll-area-content]) {
|
255
|
+
flex-grow: 1;
|
256
|
+
}
|
257
|
+
`},nonce:s}),L.jsx($a.div,{"data-radix-scroll-area-viewport":"",...f,asChild:l,ref:h,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:A1({asChild:l,children:a},y=>L.jsx("div",{"data-radix-scroll-area-content":"",ref:c.onContentChange,style:{minWidth:c.scrollbarXEnabled?"fit-content":void 0},children:y}))})]})}),Op.displayName=_p,Hr="ScrollAreaScrollbar",Rp=w.forwardRef((e,t)=>{let{forceMount:o,...a}=e,l=hr(Hr,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:f}=l,c=e.orientation==="horizontal";return w.useEffect(()=>(c?s(!0):f(!0),()=>{c?s(!1):f(!1)}),[c,s,f]),l.type==="hover"?L.jsx(T1,{...a,ref:t,forceMount:o}):l.type==="scroll"?L.jsx(I1,{...a,ref:t,forceMount:o}):l.type==="auto"?L.jsx(Ap,{...a,ref:t,forceMount:o}):l.type==="always"?L.jsx(lu,{...a,ref:t}):null}),Rp.displayName=Hr,T1=w.forwardRef((e,t)=>{let{forceMount:o,...a}=e,l=hr(Hr,e.__scopeScrollArea),[s,f]=w.useState(!1);return w.useEffect(()=>{let c=l.scrollArea,d=0;if(c){let h=g(()=>{window.clearTimeout(d),f(!0)},"handlePointerEnter"),y=g(()=>{d=window.setTimeout(()=>f(!1),l.scrollHideDelay)},"handlePointerLeave");return c.addEventListener("pointerenter",h),c.addEventListener("pointerleave",y),()=>{window.clearTimeout(d),c.removeEventListener("pointerenter",h),c.removeEventListener("pointerleave",y)}}},[l.scrollArea,l.scrollHideDelay]),L.jsx(za,{present:o||s,children:L.jsx(Ap,{"data-state":s?"visible":"hidden",...a,ref:t})})}),I1=w.forwardRef((e,t)=>{let{forceMount:o,...a}=e,l=hr(Hr,e.__scopeScrollArea),s=e.orientation==="horizontal",f=ll(()=>d("SCROLL_END"),100),[c,d]=O1("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return w.useEffect(()=>{if(c==="idle"){let h=window.setTimeout(()=>d("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(h)}},[c,l.scrollHideDelay,d]),w.useEffect(()=>{let h=l.viewport,y=s?"scrollLeft":"scrollTop";if(h){let b=h[y],v=g(()=>{let x=h[y];b!==x&&(d("SCROLL"),f()),b=x},"handleScroll");return h.addEventListener("scroll",v),()=>h.removeEventListener("scroll",v)}},[l.viewport,s,d,f]),L.jsx(za,{present:o||c!=="hidden",children:L.jsx(lu,{"data-state":c==="hidden"?"hidden":"visible",...a,ref:t,onPointerEnter:oo(e.onPointerEnter,()=>d("POINTER_ENTER")),onPointerLeave:oo(e.onPointerLeave,()=>d("POINTER_LEAVE"))})})}),Ap=w.forwardRef((e,t)=>{let o=hr(Hr,e.__scopeScrollArea),{forceMount:a,...l}=e,[s,f]=w.useState(!1),c=e.orientation==="horizontal",d=ll(()=>{if(o.viewport){let h=o.viewport.offsetWidth<o.viewport.scrollWidth,y=o.viewport.offsetHeight<o.viewport.scrollHeight;f(c?h:y)}},10);return jo(o.viewport,d),jo(o.content,d),L.jsx(za,{present:a||s,children:L.jsx(lu,{"data-state":s?"visible":"hidden",...l,ref:t})})}),lu=w.forwardRef((e,t)=>{let{orientation:o="vertical",...a}=e,l=hr(Hr,e.__scopeScrollArea),s=w.useRef(null),f=w.useRef(0),[c,d]=w.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),h=hh(c.viewport,c.content),y={...a,sizes:c,onSizesChange:d,hasThumb:h>0&&h<1,onThumbChange:g(v=>s.current=v,"onThumbChange"),onThumbPointerUp:g(()=>f.current=0,"onThumbPointerUp"),onThumbPointerDown:g(v=>f.current=v,"onThumbPointerDown")};function b(v,x){return R1(v,f.current,c,x)}return g(b,"getScrollPosition"),o==="horizontal"?L.jsx(F1,{...y,ref:t,onThumbPositionChange:g(()=>{if(l.viewport&&s.current){let v=l.viewport.scrollLeft,x=Sp(v,c,l.dir);s.current.style.transform=`translate3d(${x}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:g(v=>{l.viewport&&(l.viewport.scrollLeft=v)},"onWheelScroll"),onDragScroll:g(v=>{l.viewport&&(l.viewport.scrollLeft=b(v,l.dir))},"onDragScroll")}):o==="vertical"?L.jsx(N1,{...y,ref:t,onThumbPositionChange:g(()=>{if(l.viewport&&s.current){let v=l.viewport.scrollTop,x=Sp(v,c);s.current.style.transform=`translate3d(0, ${x}px, 0)`}},"onThumbPositionChange"),onWheelScroll:g(v=>{l.viewport&&(l.viewport.scrollTop=v)},"onWheelScroll"),onDragScroll:g(v=>{l.viewport&&(l.viewport.scrollTop=b(v))},"onDragScroll")}):null}),F1=w.forwardRef((e,t)=>{let{sizes:o,onSizesChange:a,...l}=e,s=hr(Hr,e.__scopeScrollArea),[f,c]=w.useState(),d=w.useRef(null),h=uo(t,d,s.onScrollbarXChange);return w.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),L.jsx(Tp,{"data-orientation":"horizontal",...l,ref:h,sizes:o,style:{bottom:0,left:s.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:s.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Sl(o)+"px",...e.style},onThumbPointerDown:g(y=>e.onThumbPointerDown(y.x),"onThumbPointerDown"),onDragScroll:g(y=>e.onDragScroll(y.x),"onDragScroll"),onWheelScroll:g((y,b)=>{if(s.viewport){let v=s.viewport.scrollLeft+y.deltaX;e.onWheelScroll(v),Ep(v,b)&&y.preventDefault()}},"onWheelScroll"),onResize:g(()=>{d.current&&s.viewport&&f&&a({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:il(f.paddingLeft),paddingEnd:il(f.paddingRight)}})},"onResize")})}),N1=w.forwardRef((e,t)=>{let{sizes:o,onSizesChange:a,...l}=e,s=hr(Hr,e.__scopeScrollArea),[f,c]=w.useState(),d=w.useRef(null),h=uo(t,d,s.onScrollbarYChange);return w.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),L.jsx(Tp,{"data-orientation":"vertical",...l,ref:h,sizes:o,style:{top:0,right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Sl(o)+"px",...e.style},onThumbPointerDown:g(y=>e.onThumbPointerDown(y.y),"onThumbPointerDown"),onDragScroll:g(y=>e.onDragScroll(y.y),"onDragScroll"),onWheelScroll:g((y,b)=>{if(s.viewport){let v=s.viewport.scrollTop+y.deltaY;e.onWheelScroll(v),Ep(v,b)&&y.preventDefault()}},"onWheelScroll"),onResize:g(()=>{d.current&&s.viewport&&f&&a({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:il(f.paddingTop),paddingEnd:il(f.paddingBottom)}})},"onResize")})}),[L1,Pp]=kp(Hr),Tp=w.forwardRef((e,t)=>{let{__scopeScrollArea:o,sizes:a,hasThumb:l,onThumbChange:s,onThumbPointerUp:f,onThumbPointerDown:c,onThumbPositionChange:d,onDragScroll:h,onWheelScroll:y,onResize:b,...v}=e,x=hr(Hr,o),[E,S]=w.useState(null),k=uo(t,B=>S(B)),_=w.useRef(null),A=w.useRef(""),R=x.viewport,O=a.content-a.viewport,P=po(y),I=po(d),T=ll(b,10);function N(B){if(_.current){let M=B.clientX-_.current.left,G=B.clientY-_.current.top;h({x:M,y:G})}}return g(N,"handleDragScroll"),w.useEffect(()=>{let B=g(M=>{let G=M.target;E!=null&&E.contains(G)&&P(M,O)},"handleWheel");return document.addEventListener("wheel",B,{passive:!1}),()=>document.removeEventListener("wheel",B,{passive:!1})},[R,E,O,P]),w.useEffect(I,[a,I]),jo(E,T),jo(x.content,T),L.jsx(L1,{scope:o,scrollbar:E,hasThumb:l,onThumbChange:po(s),onThumbPointerUp:po(f),onThumbPositionChange:I,onThumbPointerDown:po(c),children:L.jsx($a.div,{...v,ref:k,style:{position:"absolute",...v.style},onPointerDown:oo(e.onPointerDown,B=>{B.button===0&&(B.target.setPointerCapture(B.pointerId),_.current=E.getBoundingClientRect(),A.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",x.viewport&&(x.viewport.style.scrollBehavior="auto"),N(B))}),onPointerMove:oo(e.onPointerMove,N),onPointerUp:oo(e.onPointerUp,B=>{let M=B.target;M.hasPointerCapture(B.pointerId)&&M.releasePointerCapture(B.pointerId),document.body.style.webkitUserSelect=A.current,x.viewport&&(x.viewport.style.scrollBehavior=""),_.current=null})})})}),sl="ScrollAreaThumb",Ip=w.forwardRef((e,t)=>{let{forceMount:o,...a}=e,l=Pp(sl,e.__scopeScrollArea);return L.jsx(za,{present:o||l.hasThumb,children:L.jsx(j1,{ref:t,...a})})}),j1=w.forwardRef((e,t)=>{let{__scopeScrollArea:o,style:a,...l}=e,s=hr(sl,o),f=Pp(sl,o),{onThumbPositionChange:c}=f,d=uo(t,b=>f.onThumbChange(b)),h=w.useRef(),y=ll(()=>{h.current&&(h.current(),h.current=void 0)},100);return w.useEffect(()=>{let b=s.viewport;if(b){let v=g(()=>{if(y(),!h.current){let x=M1(b,c);h.current=x,c()}},"handleScroll");return c(),b.addEventListener("scroll",v),()=>b.removeEventListener("scroll",v)}},[s.viewport,y,c]),L.jsx($a.div,{"data-state":f.hasThumb?"visible":"hidden",...l,ref:d,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:oo(e.onPointerDownCapture,b=>{let v=b.target.getBoundingClientRect(),x=b.clientX-v.left,E=b.clientY-v.top;f.onThumbPointerDown({x,y:E})}),onPointerUp:oo(e.onPointerUp,f.onThumbPointerUp)})}),Ip.displayName=sl,su="ScrollAreaCorner",Fp=w.forwardRef((e,t)=>{let o=hr(su,e.__scopeScrollArea),a=!!(o.scrollbarX&&o.scrollbarY);return o.type!=="scroll"&&a?L.jsx($1,{...e,ref:t}):null}),Fp.displayName=su,$1=w.forwardRef((e,t)=>{let{__scopeScrollArea:o,...a}=e,l=hr(su,o),[s,f]=w.useState(0),[c,d]=w.useState(0),h=!!(s&&c);return jo(l.scrollbarX,()=>{var b;let y=((b=l.scrollbarX)==null?void 0:b.offsetHeight)||0;l.onCornerHeightChange(y),d(y)}),jo(l.scrollbarY,()=>{var b;let y=((b=l.scrollbarY)==null?void 0:b.offsetWidth)||0;l.onCornerWidthChange(y),f(y)}),h?L.jsx($a.div,{...a,ref:t,style:{width:s,height:c,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),g(il,"toInt"),g(hh,"getThumbRatio"),g(Sl,"getThumbSize"),g(R1,"getScrollPositionFromPointer"),g(Sp,"getThumbOffsetFromScroll"),g(Ag,"linearScale"),g(Ep,"isScrollingWithinScrollbarBounds"),M1=g((e,t=()=>{})=>{let o={left:e.scrollLeft,top:e.scrollTop},a=0;return g(function l(){let s={left:e.scrollLeft,top:e.scrollTop},f=o.left!==s.left,c=o.top!==s.top;(f||c)&&t(),o=s,a=window.requestAnimationFrame(l)},"loop")(),()=>window.cancelAnimationFrame(a)},"addUnlinkedScrollListener"),g(ll,"useDebounceCallback"),g(jo,"useResizeObserver"),g(A1,"getSubtree"),GS=Cp,YS=Op,KS=Rp,XS=Ip,QS=Fp}),D1,z1,Np,Lp,ii,Pg=te(()=>{AP(),D1=D(GS)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),z1=D(YS)({width:"100%",height:"100%"}),Np=D(KS)(({offset:e,horizontal:t,vertical:o})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&o==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&o==="true"?0:e}})),Lp=D(XS)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),ii=w.forwardRef(({children:e,horizontal:t=!1,vertical:o=!1,offset:a=2,scrollbarSize:l=6,className:s},f)=>K.createElement(D1,{scrollbarsize:l,offset:a,className:s},K.createElement(z1,{ref:f},e),t&&K.createElement(Np,{orientation:"horizontal",offset:a,horizontal:t.toString(),vertical:o.toString()},K.createElement(Lp,null)),o&&K.createElement(Np,{orientation:"vertical",offset:a,horizontal:t.toString(),vertical:o.toString()},K.createElement(Lp,null)),t&&o&&K.createElement(QS,null))),ii.displayName="ScrollArea"}),Tg={};Ml(Tg,{SyntaxHighlighter:()=>El,createCopyToClipboardFunction:()=>gh,default:()=>ZS,supportedLanguages:()=>mh});function gh(){return hl!=null&&hl.clipboard?e=>hl.clipboard.writeText(e):async e=>{let t=Ma.createElement("TEXTAREA"),o=Ma.activeElement;t.value=e,Ma.body.appendChild(t),t.select(),Ma.execCommand("copy"),Ma.body.removeChild(t),o.focus()}}var B1,hl,Ma,H1,mh,U1,W1,q1,V1,G1,Y1,K1,jp,X1,Q1,El,ZS,mc=te(()=>{B1=It(pc(),1),tP(),nP(),oP(),iP(),sP(),cP(),fP(),pP(),hP(),mP(),vP(),bP(),eP(),$S(),Pg(),{navigator:hl,document:Ma,window:H1}=Ll,mh={jsextra:_S,jsx:AS,json:OS,yml:LS,md:PS,bash:ES,css:kS,html:TS,tsx:FS,typescript:NS,graphql:CS},Object.entries(mh).forEach(([e,t])=>{vu.registerLanguage(e,t)}),U1=(0,B1.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[o,a])=>({...t,[`* .${o}`]:a}),{})),W1=gh(),g(gh,"createCopyToClipboardFunction"),q1=D.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),V1=g(({children:e,className:t})=>K.createElement(ii,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),G1=D(V1)({position:"relative"},({theme:e})=>U1(e)),Y1=D.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),K1=D.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),jp=g(e=>{let t=[...e.children],o=t[0],a=o.children[0].value,l={...o,children:[],properties:{...o.properties,"data-line-number":a,style:{...o.properties.style,userSelect:"auto"}}};return t[0]=l,{...e,children:t}},"processLineNumber"),X1=g(({rows:e,stylesheet:t,useInlineStyles:o})=>e.map((a,l)=>gc({node:jp(a),stylesheet:t,useInlineStyles:o,key:`code-segement${l}`})),"defaultRenderer"),Q1=g((e,t)=>t?e?({rows:o,...a})=>e({rows:o.map(l=>jp(l)),...a}):X1:e,"wrapRenderer"),El=g(({children:e,language:t="jsx",copyable:o=!1,bordered:a=!1,padded:l=!1,format:s=!0,formatter:f=void 0,className:c=void 0,showLineNumbers:d=!1,...h})=>{if(typeof e!="string"||!e.trim())return null;let[y,b]=w.useState("");w.useEffect(()=>{f?f(s,e).then(b):b(e.trim())},[e,s,f]);let[v,x]=w.useState(!1),E=w.useCallback(k=>{k.preventDefault(),W1(y).then(()=>{x(!0),H1.setTimeout(()=>x(!1),1500)}).catch(Qa.error)},[y]),S=Q1(h.renderer,d);return K.createElement(q1,{bordered:a,padded:l,showLineNumbers:d,className:c},K.createElement(G1,null,K.createElement(vu,{padded:l||a,language:t,showLineNumbers:d,showInlineLineNumbers:d,useInlineStyles:!1,PreTag:Y1,CodeTag:K1,lineNumberContainerStyle:{},...h,renderer:S},y)),o?K.createElement(jS,{actionItems:[{title:v?"Copied":"Copy",onClick:E}]}):null)},"SyntaxHighlighter"),El.registerLanguage=(...e)=>vu.registerLanguage(...e),ZS=El});function JS(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var a=Array.from(typeof e=="string"?[e]:e);a[a.length-1]=a[a.length-1].replace(/\r?\n([\t ]*)$/,"");var l=a.reduce(function(c,d){var h=d.match(/\n([\t ]+|(?!\s).)/g);return h?c.concat(h.map(function(y){var b,v;return(v=(b=y.match(/[\t ]/g))===null||b===void 0?void 0:b.length)!==null&&v!==void 0?v:0})):c},[]);if(l.length){var s=new RegExp(`
|
258
|
+
[ ]{`+Math.min.apply(Math,l)+"}","g");a=a.map(function(c){return c.replace(s,`
|
259
|
+
`)})}a[0]=a[0].replace(/^\r?\n/,"");var f=a[0];return t.forEach(function(c,d){var h=f.match(/(?:^|\n)( *)$/),y=h?h[1]:"",b=c;typeof c=="string"&&c.includes(`
|
260
|
+
`)&&(b=String(c).split(`
|
261
|
+
`).map(function(v,x){return x===0?v:""+y+v}).join(`
|
262
|
+
`)),f+=b+a[d+1]}),f}var PP=te(()=>{g(JS,"dedent")}),eE={};Ml(eE,{formatter:()=>tE});var Z1,tE,TP=te(()=>{Z1=It(pc(),1),PP(),tE=(0,Z1.default)(2)(async(e,t)=>e===!1?t:JS(t))}),vh,yh,IP=te(()=>{vh=g(function(e){return e.reduce(function(t,o){var a=o[0],l=o[1];return t[a]=l,t},{})},"fromEntries"),yh=typeof window<"u"&&window.document&&window.document.createElement?w.useLayoutEffect:w.useEffect}),qt,br,wr,Vt,Bu,Ua,Ho,Wa,rE,Ig,Da,nE,bh,Fg,J1,eb,tb,rb,nb,ob,ab,ib,lb,oE,Ir=te(()=>{qt="top",br="bottom",wr="right",Vt="left",Bu="auto",Ua=[qt,br,wr,Vt],Ho="start",Wa="end",rE="clippingParents",Ig="viewport",Da="popper",nE="reference",bh=Ua.reduce(function(e,t){return e.concat([t+"-"+Ho,t+"-"+Wa])},[]),Fg=[].concat(Ua,[Bu]).reduce(function(e,t){return e.concat([t,t+"-"+Ho,t+"-"+Wa])},[]),J1="beforeRead",eb="read",tb="afterRead",rb="beforeMain",nb="main",ob="afterMain",ab="beforeWrite",ib="write",lb="afterWrite",oE=[J1,eb,tb,rb,nb,ob,ab,ib,lb]});function Gr(e){return e?(e.nodeName||"").toLowerCase():null}var ra=te(()=>{g(Gr,"getNodeName")});function ir(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var dn=te(()=>{g(ir,"getWindow")});function mo(e){var t=ir(e).Element;return e instanceof t||e instanceof Element}function mr(e){var t=ir(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vc(e){if(typeof ShadowRoot>"u")return!1;var t=ir(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Fr=te(()=>{dn(),g(mo,"isElement"),g(mr,"isHTMLElement"),g(vc,"isShadowRoot")});function sb(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var a=t.styles[o]||{},l=t.attributes[o]||{},s=t.elements[o];!mr(s)||!Gr(s)||(Object.assign(s.style,a),Object.keys(l).forEach(function(f){var c=l[f];c===!1?s.removeAttribute(f):s.setAttribute(f,c===!0?"":c)}))})}function ub(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(a){var l=t.elements[a],s=t.attributes[a]||{},f=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:o[a]),c=f.reduce(function(d,h){return d[h]="",d},{});!mr(l)||!Gr(l)||(Object.assign(l.style,c),Object.keys(s).forEach(function(d){l.removeAttribute(d)}))})}}var aE,FP=te(()=>{ra(),Fr(),g(sb,"applyStyles"),g(ub,"effect"),aE={name:"applyStyles",enabled:!0,phase:"write",fn:sb,effect:ub,requires:["computeStyles"]}});function Vr(e){return e.split("-")[0]}var na=te(()=>{g(Vr,"getBasePlacement")}),ho,Il,Ko,oa=te(()=>{ho=Math.max,Il=Math.min,Ko=Math.round});function Hu(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var iE=te(()=>{g(Hu,"getUAString")});function Ng(){return!/^((?!chrome|android).)*safari/i.test(Hu())}var lE=te(()=>{iE(),g(Ng,"isLayoutViewport")});function Xo(e,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var a=e.getBoundingClientRect(),l=1,s=1;t&&mr(e)&&(l=e.offsetWidth>0&&Ko(a.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ko(a.height)/e.offsetHeight||1);var f=mo(e)?ir(e):window,c=f.visualViewport,d=!Ng()&&o,h=(a.left+(d&&c?c.offsetLeft:0))/l,y=(a.top+(d&&c?c.offsetTop:0))/s,b=a.width/l,v=a.height/s;return{width:b,height:v,top:y,right:h+b,bottom:y+v,left:h,x:h,y}}var zl=te(()=>{Fr(),oa(),dn(),lE(),g(Xo,"getBoundingClientRect")});function yc(e){var t=Xo(e),o=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:a}}var Lg=te(()=>{zl(),g(yc,"getLayoutRect")});function jg(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&vc(o)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}var sE=te(()=>{Fr(),g(jg,"contains")});function fn(e){return ir(e).getComputedStyle(e)}var Bl=te(()=>{dn(),g(fn,"getComputedStyle")});function uE(e){return["table","td","th"].indexOf(Gr(e))>=0}var NP=te(()=>{ra(),g(uE,"isTableElement")});function Pn(e){return((mo(e)?e.ownerDocument:e.document)||window.document).documentElement}var wo=te(()=>{Fr(),g(Pn,"getDocumentElement")});function Hl(e){return Gr(e)==="html"?e:e.assignedSlot||e.parentNode||(vc(e)?e.host:null)||Pn(e)}var bc=te(()=>{ra(),wo(),Fr(),g(Hl,"getParentNode")});function wh(e){return!mr(e)||fn(e).position==="fixed"?null:e.offsetParent}function cE(e){var t=/firefox/i.test(Hu()),o=/Trident/i.test(Hu());if(o&&mr(e)){var a=fn(e);if(a.position==="fixed")return null}var l=Hl(e);for(vc(l)&&(l=l.host);mr(l)&&["html","body"].indexOf(Gr(l))<0;){var s=fn(l);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return l;l=l.parentNode}return null}function vi(e){for(var t=ir(e),o=wh(e);o&&uE(o)&&fn(o).position==="static";)o=wh(o);return o&&(Gr(o)==="html"||Gr(o)==="body"&&fn(o).position==="static")?t:o||cE(e)||t}var Ul=te(()=>{dn(),ra(),Bl(),Fr(),NP(),bc(),iE(),g(wh,"getTrueOffsetParent"),g(cE,"getContainingBlock"),g(vi,"getOffsetParent")});function wc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var $g=te(()=>{g(wc,"getMainAxisFromPlacement")});function qa(e,t,o){return ho(e,Il(t,o))}function fE(e,t,o){var a=qa(e,t,o);return a>o?o:a}var dE=te(()=>{oa(),g(qa,"within"),g(fE,"withinMaxClamp")});function Mg(){return{top:0,right:0,bottom:0,left:0}}var pE=te(()=>{g(Mg,"getFreshSideObject")});function Dg(e){return Object.assign({},Mg(),e)}var hE=te(()=>{pE(),g(Dg,"mergePaddingObject")});function zg(e,t){return t.reduce(function(o,a){return o[a]=e,o},{})}var gE=te(()=>{g(zg,"expandToHashMap")});function cb(e){var t,o=e.state,a=e.name,l=e.options,s=o.elements.arrow,f=o.modifiersData.popperOffsets,c=Vr(o.placement),d=wc(c),h=[Vt,wr].indexOf(c)>=0,y=h?"height":"width";if(!(!s||!f)){var b=mE(l.padding,o),v=yc(s),x=d==="y"?qt:Vt,E=d==="y"?br:wr,S=o.rects.reference[y]+o.rects.reference[d]-f[d]-o.rects.popper[y],k=f[d]-o.rects.reference[d],_=vi(s),A=_?d==="y"?_.clientHeight||0:_.clientWidth||0:0,R=S/2-k/2,O=b[x],P=A-v[y]-b[E],I=A/2-v[y]/2+R,T=qa(O,I,P),N=d;o.modifiersData[a]=(t={},t[N]=T,t.centerOffset=T-I,t)}}function fb(e){var t=e.state,o=e.options,a=o.element,l=a===void 0?"[data-popper-arrow]":a;l!=null&&(typeof l=="string"&&(l=t.elements.popper.querySelector(l),!l)||jg(t.elements.popper,l)&&(t.elements.arrow=l))}var mE,vE,LP=te(()=>{na(),Lg(),sE(),Ul(),$g(),dE(),hE(),gE(),Ir(),mE=g(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Dg(typeof e!="number"?e:zg(e,Ua))},"toPaddingObject"),g(cb,"arrow"),g(fb,"effect"),vE={name:"arrow",enabled:!0,phase:"main",fn:cb,effect:fb,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function Qo(e){return e.split("-")[1]}var Wl=te(()=>{g(Qo,"getVariation")});function yE(e,t){var o=e.x,a=e.y,l=t.devicePixelRatio||1;return{x:Ko(o*l)/l||0,y:Ko(a*l)/l||0}}function xh(e){var t,o=e.popper,a=e.popperRect,l=e.placement,s=e.variation,f=e.offsets,c=e.position,d=e.gpuAcceleration,h=e.adaptive,y=e.roundOffsets,b=e.isFixed,v=f.x,x=v===void 0?0:v,E=f.y,S=E===void 0?0:E,k=typeof y=="function"?y({x,y:S}):{x,y:S};x=k.x,S=k.y;var _=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),R=Vt,O=qt,P=window;if(h){var I=vi(o),T="clientHeight",N="clientWidth";if(I===ir(o)&&(I=Pn(o),fn(I).position!=="static"&&c==="absolute"&&(T="scrollHeight",N="scrollWidth")),I=I,l===qt||(l===Vt||l===wr)&&s===Wa){O=br;var B=b&&I===P&&P.visualViewport?P.visualViewport.height:I[T];S-=B-a.height,S*=d?1:-1}if(l===Vt||(l===qt||l===br)&&s===Wa){R=wr;var M=b&&I===P&&P.visualViewport?P.visualViewport.width:I[N];x-=M-a.width,x*=d?1:-1}}var G=Object.assign({position:c},h&&bE),ee=y===!0?yE({x,y:S},ir(o)):{x,y:S};if(x=ee.x,S=ee.y,d){var se;return Object.assign({},G,(se={},se[O]=A?"0":"",se[R]=_?"0":"",se.transform=(P.devicePixelRatio||1)<=1?"translate("+x+"px, "+S+"px)":"translate3d("+x+"px, "+S+"px, 0)",se))}return Object.assign({},G,(t={},t[O]=A?S+"px":"",t[R]=_?x+"px":"",t.transform="",t))}function db(e){var t=e.state,o=e.options,a=o.gpuAcceleration,l=a===void 0?!0:a,s=o.adaptive,f=s===void 0?!0:s,c=o.roundOffsets,d=c===void 0?!0:c,h={placement:Vr(t.placement),variation:Qo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:l,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xh(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:f,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xh(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bE,wE,jP=te(()=>{Ir(),Ul(),dn(),wo(),Bl(),na(),Wl(),oa(),bE={top:"auto",right:"auto",bottom:"auto",left:"auto"},g(yE,"roundOffsetsByDPR"),g(xh,"mapToStyles"),g(db,"computeStyles"),wE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:db,data:{}}});function pb(e){var t=e.state,o=e.instance,a=e.options,l=a.scroll,s=l===void 0?!0:l,f=a.resize,c=f===void 0?!0:f,d=ir(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&h.forEach(function(y){y.addEventListener("scroll",o.update,gl)}),c&&d.addEventListener("resize",o.update,gl),function(){s&&h.forEach(function(y){y.removeEventListener("scroll",o.update,gl)}),c&&d.removeEventListener("resize",o.update,gl)}}var gl,xE,$P=te(()=>{dn(),gl={passive:!0},g(pb,"effect"),xE={name:"eventListeners",enabled:!0,phase:"write",fn:g(function(){},"fn"),effect:pb,data:{}}});function kl(e){return e.replace(/left|right|bottom|top/g,function(t){return SE[t]})}var SE,MP=te(()=>{SE={left:"right",right:"left",bottom:"top",top:"bottom"},g(kl,"getOppositePlacement")});function Sh(e){return e.replace(/start|end/g,function(t){return EE[t]})}var EE,DP=te(()=>{EE={start:"end",end:"start"},g(Sh,"getOppositeVariationPlacement")});function xc(e){var t=ir(e),o=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:o,scrollTop:a}}var Bg=te(()=>{dn(),g(xc,"getWindowScroll")});function Sc(e){return Xo(Pn(e)).left+xc(e).scrollLeft}var Hg=te(()=>{zl(),wo(),Bg(),g(Sc,"getWindowScrollBarX")});function kE(e,t){var o=ir(e),a=Pn(e),l=o.visualViewport,s=a.clientWidth,f=a.clientHeight,c=0,d=0;if(l){s=l.width,f=l.height;var h=Ng();(h||!h&&t==="fixed")&&(c=l.offsetLeft,d=l.offsetTop)}return{width:s,height:f,x:c+Sc(e),y:d}}var zP=te(()=>{dn(),wo(),Hg(),lE(),g(kE,"getViewportRect")});function CE(e){var t,o=Pn(e),a=xc(e),l=(t=e.ownerDocument)==null?void 0:t.body,s=ho(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),f=ho(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),c=-a.scrollLeft+Sc(e),d=-a.scrollTop;return fn(l||o).direction==="rtl"&&(c+=ho(o.clientWidth,l?l.clientWidth:0)-s),{width:s,height:f,x:c,y:d}}var BP=te(()=>{wo(),Bl(),Hg(),Bg(),oa(),g(CE,"getDocumentRect")});function Ec(e){var t=fn(e),o=t.overflow,a=t.overflowX,l=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+l+a)}var Ug=te(()=>{Bl(),g(Ec,"isScrollParent")});function Wg(e){return["html","body","#document"].indexOf(Gr(e))>=0?e.ownerDocument.body:mr(e)&&Ec(e)?e:Wg(Hl(e))}var HP=te(()=>{bc(),Ug(),ra(),Fr(),g(Wg,"getScrollParent")});function Va(e,t){var o;t===void 0&&(t=[]);var a=Wg(e),l=a===((o=e.ownerDocument)==null?void 0:o.body),s=ir(a),f=l?[s].concat(s.visualViewport||[],Ec(a)?a:[]):a,c=t.concat(f);return l?c:c.concat(Va(Hl(f)))}var _E=te(()=>{HP(),bc(),dn(),Ug(),g(Va,"listScrollParents")});function Uu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var OE=te(()=>{g(Uu,"rectToClientRect")});function RE(e,t){var o=Xo(e,!1,t==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function Eh(e,t,o){return t===Ig?Uu(kE(e,o)):mo(t)?RE(t,o):Uu(CE(Pn(e)))}function AE(e){var t=Va(Hl(e)),o=["absolute","fixed"].indexOf(fn(e).position)>=0,a=o&&mr(e)?vi(e):e;return mo(a)?t.filter(function(l){return mo(l)&&jg(l,a)&&Gr(l)!=="body"}):[]}function PE(e,t,o,a){var l=t==="clippingParents"?AE(e):[].concat(t),s=[].concat(l,[o]),f=s[0],c=s.reduce(function(d,h){var y=Eh(e,h,a);return d.top=ho(y.top,d.top),d.right=Il(y.right,d.right),d.bottom=Il(y.bottom,d.bottom),d.left=ho(y.left,d.left),d},Eh(e,f,a));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}var UP=te(()=>{Ir(),zP(),BP(),_E(),Ul(),wo(),Bl(),Fr(),zl(),bc(),sE(),ra(),OE(),oa(),g(RE,"getInnerBoundingClientRect"),g(Eh,"getClientRectFromMixedType"),g(AE,"getClippingParents"),g(PE,"getClippingRect")});function qg(e){var t=e.reference,o=e.element,a=e.placement,l=a?Vr(a):null,s=a?Qo(a):null,f=t.x+t.width/2-o.width/2,c=t.y+t.height/2-o.height/2,d;switch(l){case qt:d={x:f,y:t.y-o.height};break;case br:d={x:f,y:t.y+t.height};break;case wr:d={x:t.x+t.width,y:c};break;case Vt:d={x:t.x-o.width,y:c};break;default:d={x:t.x,y:t.y}}var h=l?wc(l):null;if(h!=null){var y=h==="y"?"height":"width";switch(s){case Ho:d[h]=d[h]-(t[y]/2-o[y]/2);break;case Wa:d[h]=d[h]+(t[y]/2-o[y]/2);break}}return d}var TE=te(()=>{na(),Wl(),$g(),Ir(),g(qg,"computeOffsets")});function li(e,t){t===void 0&&(t={});var o=t,a=o.placement,l=a===void 0?e.placement:a,s=o.strategy,f=s===void 0?e.strategy:s,c=o.boundary,d=c===void 0?rE:c,h=o.rootBoundary,y=h===void 0?Ig:h,b=o.elementContext,v=b===void 0?Da:b,x=o.altBoundary,E=x===void 0?!1:x,S=o.padding,k=S===void 0?0:S,_=Dg(typeof k!="number"?k:zg(k,Ua)),A=v===Da?nE:Da,R=e.rects.popper,O=e.elements[E?A:v],P=PE(mo(O)?O:O.contextElement||Pn(e.elements.popper),d,y,f),I=Xo(e.elements.reference),T=qg({reference:I,element:R,placement:l}),N=Uu(Object.assign({},R,T)),B=v===Da?N:I,M={top:P.top-B.top+_.top,bottom:B.bottom-P.bottom+_.bottom,left:P.left-B.left+_.left,right:B.right-P.right+_.right},G=e.modifiersData.offset;if(v===Da&&G){var ee=G[l];Object.keys(M).forEach(function(se){var be=[wr,br].indexOf(se)>=0?1:-1,ie=[qt,br].indexOf(se)>=0?"y":"x";M[se]+=ee[ie]*be})}return M}var kc=te(()=>{UP(),wo(),zl(),TE(),OE(),Ir(),Fr(),hE(),gE(),g(li,"detectOverflow")});function IE(e,t){t===void 0&&(t={});var o=t,a=o.placement,l=o.boundary,s=o.rootBoundary,f=o.padding,c=o.flipVariations,d=o.allowedAutoPlacements,h=d===void 0?Fg:d,y=Qo(a),b=y?c?bh:bh.filter(function(E){return Qo(E)===y}):Ua,v=b.filter(function(E){return h.indexOf(E)>=0});v.length===0&&(v=b);var x=v.reduce(function(E,S){return E[S]=li(e,{placement:S,boundary:l,rootBoundary:s,padding:f})[Vr(S)],E},{});return Object.keys(x).sort(function(E,S){return x[E]-x[S]})}var WP=te(()=>{Wl(),Ir(),kc(),na(),g(IE,"computeAutoPlacement")});function FE(e){if(Vr(e)===Bu)return[];var t=kl(e);return[Sh(e),t,Sh(t)]}function hb(e){var t=e.state,o=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var l=o.mainAxis,s=l===void 0?!0:l,f=o.altAxis,c=f===void 0?!0:f,d=o.fallbackPlacements,h=o.padding,y=o.boundary,b=o.rootBoundary,v=o.altBoundary,x=o.flipVariations,E=x===void 0?!0:x,S=o.allowedAutoPlacements,k=t.options.placement,_=Vr(k),A=_===k,R=d||(A||!E?[kl(k)]:FE(k)),O=[k].concat(R).reduce(function(me,oe){return me.concat(Vr(oe)===Bu?IE(t,{placement:oe,boundary:y,rootBoundary:b,padding:h,flipVariations:E,allowedAutoPlacements:S}):oe)},[]),P=t.rects.reference,I=t.rects.popper,T=new Map,N=!0,B=O[0],M=0;M<O.length;M++){var G=O[M],ee=Vr(G),se=Qo(G)===Ho,be=[qt,br].indexOf(ee)>=0,ie=be?"width":"height",he=li(t,{placement:G,boundary:y,rootBoundary:b,altBoundary:v,padding:h}),de=be?se?wr:Vt:se?br:qt;P[ie]>I[ie]&&(de=kl(de));var U=kl(de),J=[];if(s&&J.push(he[ee]<=0),c&&J.push(he[de]<=0,he[U]<=0),J.every(function(me){return me})){B=G,N=!1;break}T.set(G,J)}if(N)for(var Q=E?3:1,j=g(function(me){var oe=O.find(function(ce){var ve=T.get(ce);if(ve)return ve.slice(0,me).every(function(xe){return xe})});if(oe)return B=oe,"break"},"_loop"),Z=Q;Z>0;Z--){var fe=j(Z);if(fe==="break")break}t.placement!==B&&(t.modifiersData[a]._skip=!0,t.placement=B,t.reset=!0)}}var NE,qP=te(()=>{MP(),na(),DP(),kc(),WP(),Ir(),Wl(),g(FE,"getExpandedFallbackPlacements"),g(hb,"flip"),NE={name:"flip",enabled:!0,phase:"main",fn:hb,requiresIfExists:["offset"],data:{_skip:!1}}});function kh(e,t,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Ch(e){return[qt,wr,br,Vt].some(function(t){return e[t]>=0})}function gb(e){var t=e.state,o=e.name,a=t.rects.reference,l=t.rects.popper,s=t.modifiersData.preventOverflow,f=li(t,{elementContext:"reference"}),c=li(t,{altBoundary:!0}),d=kh(f,a),h=kh(c,l,s),y=Ch(d),b=Ch(h);t.modifiersData[o]={referenceClippingOffsets:d,popperEscapeOffsets:h,isReferenceHidden:y,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":y,"data-popper-escaped":b})}var LE,VP=te(()=>{Ir(),kc(),g(kh,"getSideOffsets"),g(Ch,"isAnySideFullyClipped"),g(gb,"hide"),LE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gb}});function jE(e,t,o){var a=Vr(e),l=[Vt,qt].indexOf(a)>=0?-1:1,s=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,f=s[0],c=s[1];return f=f||0,c=(c||0)*l,[Vt,wr].indexOf(a)>=0?{x:c,y:f}:{x:f,y:c}}function mb(e){var t=e.state,o=e.options,a=e.name,l=o.offset,s=l===void 0?[0,0]:l,f=Fg.reduce(function(y,b){return y[b]=jE(b,t.rects,s),y},{}),c=f[t.placement],d=c.x,h=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=h),t.modifiersData[a]=f}var $E,GP=te(()=>{na(),Ir(),g(jE,"distanceAndSkiddingToXY"),g(mb,"offset"),$E={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mb}});function vb(e){var t=e.state,o=e.name;t.modifiersData[o]=qg({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var ME,YP=te(()=>{TE(),g(vb,"popperOffsets"),ME={name:"popperOffsets",enabled:!0,phase:"read",fn:vb,data:{}}});function DE(e){return e==="x"?"y":"x"}var KP=te(()=>{g(DE,"getAltAxis")});function yb(e){var t=e.state,o=e.options,a=e.name,l=o.mainAxis,s=l===void 0?!0:l,f=o.altAxis,c=f===void 0?!1:f,d=o.boundary,h=o.rootBoundary,y=o.altBoundary,b=o.padding,v=o.tether,x=v===void 0?!0:v,E=o.tetherOffset,S=E===void 0?0:E,k=li(t,{boundary:d,rootBoundary:h,padding:b,altBoundary:y}),_=Vr(t.placement),A=Qo(t.placement),R=!A,O=wc(_),P=DE(O),I=t.modifiersData.popperOffsets,T=t.rects.reference,N=t.rects.popper,B=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,M=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ee={x:0,y:0};if(I){if(s){var se,be=O==="y"?qt:Vt,ie=O==="y"?br:wr,he=O==="y"?"height":"width",de=I[O],U=de+k[be],J=de-k[ie],Q=x?-N[he]/2:0,j=A===Ho?T[he]:N[he],Z=A===Ho?-N[he]:-T[he],fe=t.elements.arrow,me=x&&fe?yc(fe):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Mg(),ce=oe[be],ve=oe[ie],xe=qa(0,T[he],me[he]),Ee=R?T[he]/2-Q-xe-ce-M.mainAxis:j-xe-ce-M.mainAxis,ke=R?-T[he]/2+Q+xe+ve+M.mainAxis:Z+xe+ve+M.mainAxis,Fe=t.elements.arrow&&vi(t.elements.arrow),Ie=Fe?O==="y"?Fe.clientTop||0:Fe.clientLeft||0:0,ue=(se=G==null?void 0:G[O])!=null?se:0,Ue=de+Ee-ue-Ie,Ke=de+ke-ue,Le=qa(x?Il(U,Ue):U,de,x?ho(J,Ke):J);I[O]=Le,ee[O]=Le-de}if(c){var rt,yt=O==="x"?qt:Vt,Ft=O==="x"?br:wr,qe=I[P],Xe=P==="y"?"height":"width",dt=qe+k[yt],Nt=qe-k[Ft],gt=[qt,Vt].indexOf(_)!==-1,Nr=(rt=G==null?void 0:G[P])!=null?rt:0,Lt=gt?dt:qe-T[Xe]-N[Xe]-Nr+M.altAxis,lt=gt?qe+T[Xe]+N[Xe]-Nr-M.altAxis:Nt,st=x&>?fE(Lt,qe,lt):qa(x?Lt:dt,qe,x?lt:Nt);I[P]=st,ee[P]=st-qe}t.modifiersData[a]=ee}}var zE,XP=te(()=>{Ir(),na(),$g(),KP(),dE(),Lg(),Ul(),kc(),Wl(),pE(),oa(),g(yb,"preventOverflow"),zE={name:"preventOverflow",enabled:!0,phase:"main",fn:yb,requiresIfExists:["offset"]}}),BE=te(()=>{});function HE(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var QP=te(()=>{g(HE,"getHTMLElementScroll")});function UE(e){return e===ir(e)||!mr(e)?xc(e):HE(e)}var ZP=te(()=>{Bg(),dn(),Fr(),QP(),g(UE,"getNodeScroll")});function WE(e){var t=e.getBoundingClientRect(),o=Ko(t.width)/e.offsetWidth||1,a=Ko(t.height)/e.offsetHeight||1;return o!==1||a!==1}function qE(e,t,o){o===void 0&&(o=!1);var a=mr(t),l=mr(t)&&WE(t),s=Pn(t),f=Xo(e,l,o),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(a||!a&&!o)&&((Gr(t)!=="body"||Ec(s))&&(c=UE(t)),mr(t)?(d=Xo(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=Sc(s))),{x:f.left+c.scrollLeft-d.x,y:f.top+c.scrollTop-d.y,width:f.width,height:f.height}}var JP=te(()=>{zl(),ZP(),ra(),Fr(),Hg(),wo(),Ug(),oa(),g(WE,"isElementScaled"),g(qE,"getCompositeRect")});function VE(e){var t=new Map,o=new Set,a=[];e.forEach(function(s){t.set(s.name,s)});function l(s){o.add(s.name);var f=[].concat(s.requires||[],s.requiresIfExists||[]);f.forEach(function(c){if(!o.has(c)){var d=t.get(c);d&&l(d)}}),a.push(s)}return g(l,"sort"),e.forEach(function(s){o.has(s.name)||l(s)}),a}function GE(e){var t=VE(e);return oE.reduce(function(o,a){return o.concat(t.filter(function(l){return l.phase===a}))},[])}var e4=te(()=>{Ir(),g(VE,"order"),g(GE,"orderModifiers")});function YE(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}var t4=te(()=>{g(YE,"debounce")});function KE(e){var t=e.reduce(function(o,a){var l=o[a.name];return o[a.name]=l?Object.assign({},l,a,{options:Object.assign({},l.options,a.options),data:Object.assign({},l.data,a.data)}):a,o},{});return Object.keys(t).map(function(o){return t[o]})}var r4=te(()=>{g(KE,"mergeByName")});function _h(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function XE(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,a=o===void 0?[]:o,l=t.defaultOptions,s=l===void 0?Oh:l;return g(function(f,c,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Oh,s),modifiersData:{},elements:{reference:f,popper:c},attributes:{},styles:{}},y=[],b=!1,v={state:h,setOptions:g(function(S){var k=typeof S=="function"?S(h.options):S;E(),h.options=Object.assign({},s,h.options,k),h.scrollParents={reference:mo(f)?Va(f):f.contextElement?Va(f.contextElement):[],popper:Va(c)};var _=GE(KE([].concat(a,h.options.modifiers)));return h.orderedModifiers=_.filter(function(A){return A.enabled}),x(),v.update()},"setOptions"),forceUpdate:g(function(){if(!b){var S=h.elements,k=S.reference,_=S.popper;if(_h(k,_)){h.rects={reference:qE(k,vi(_),h.options.strategy==="fixed"),popper:yc(_)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(N){return h.modifiersData[N.name]=Object.assign({},N.data)});for(var A=0;A<h.orderedModifiers.length;A++){if(h.reset===!0){h.reset=!1,A=-1;continue}var R=h.orderedModifiers[A],O=R.fn,P=R.options,I=P===void 0?{}:P,T=R.name;typeof O=="function"&&(h=O({state:h,options:I,name:T,instance:v})||h)}}}},"forceUpdate"),update:YE(function(){return new Promise(function(S){v.forceUpdate(),S(h)})}),destroy:g(function(){E(),b=!0},"destroy")};if(!_h(f,c))return v;v.setOptions(d).then(function(S){!b&&d.onFirstUpdate&&d.onFirstUpdate(S)});function x(){h.orderedModifiers.forEach(function(S){var k=S.name,_=S.options,A=_===void 0?{}:_,R=S.effect;if(typeof R=="function"){var O=R({state:h,name:k,instance:v,options:A}),P=g(function(){},"noopFn");y.push(O||P)}})}g(x,"runModifierEffects");function E(){y.forEach(function(S){return S()}),y=[]}return g(E,"cleanupModifierEffects"),v},"createPopper")}var Oh,n4=te(()=>{JP(),Lg(),_E(),Ul(),e4(),t4(),r4(),Fr(),Oh={placement:"bottom",modifiers:[],strategy:"absolute"},g(_h,"areValidElements"),g(XE,"popperGenerator")}),bb,QE,o4=te(()=>{n4(),$P(),YP(),jP(),FP(),GP(),qP(),XP(),LP(),VP(),BE(),bb=[xE,ME,wE,aE,$E,NE,zE,vE,LE],QE=XE({defaultModifiers:bb})}),a4=te(()=>{Ir(),BE(),o4()}),i4=Ae((e,t)=>{var o=typeof Element<"u",a=typeof Map=="function",l=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function f(c,d){if(c===d)return!0;if(c&&d&&typeof c=="object"&&typeof d=="object"){if(c.constructor!==d.constructor)return!1;var h,y,b;if(Array.isArray(c)){if(h=c.length,h!=d.length)return!1;for(y=h;y--!==0;)if(!f(c[y],d[y]))return!1;return!0}var v;if(a&&c instanceof Map&&d instanceof Map){if(c.size!==d.size)return!1;for(v=c.entries();!(y=v.next()).done;)if(!d.has(y.value[0]))return!1;for(v=c.entries();!(y=v.next()).done;)if(!f(y.value[1],d.get(y.value[0])))return!1;return!0}if(l&&c instanceof Set&&d instanceof Set){if(c.size!==d.size)return!1;for(v=c.entries();!(y=v.next()).done;)if(!d.has(y.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(d)){if(h=c.length,h!=d.length)return!1;for(y=h;y--!==0;)if(c[y]!==d[y])return!1;return!0}if(c.constructor===RegExp)return c.source===d.source&&c.flags===d.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof d.valueOf=="function")return c.valueOf()===d.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof d.toString=="function")return c.toString()===d.toString();if(b=Object.keys(c),h=b.length,h!==Object.keys(d).length)return!1;for(y=h;y--!==0;)if(!Object.prototype.hasOwnProperty.call(d,b[y]))return!1;if(o&&c instanceof Element)return!1;for(y=h;y--!==0;)if(!((b[y]==="_owner"||b[y]==="__v"||b[y]==="__o")&&c.$$typeof)&&!f(c[b[y]],d[b[y]]))return!1;return!0}return c!==c&&d!==d}g(f,"equal"),t.exports=g(function(c,d){try{return f(c,d)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}},"isEqual")}),wb,xb,ZE,l4=te(()=>{a4(),wb=It(i4()),IP(),xb=[],ZE=g(function(e,t,o){o===void 0&&(o={});var a=w.useRef(null),l={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||xb},s=w.useState({styles:{popper:{position:l.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),f=s[0],c=s[1],d=w.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:g(function(b){var v=b.state,x=Object.keys(v.elements);cc.flushSync(function(){c({styles:vh(x.map(function(E){return[E,v.styles[E]||{}]})),attributes:vh(x.map(function(E){return[E,v.attributes[E]]}))})})},"fn"),requires:["computeStyles"]}},[]),h=w.useMemo(function(){var b={onFirstUpdate:l.onFirstUpdate,placement:l.placement,strategy:l.strategy,modifiers:[].concat(l.modifiers,[d,{name:"applyStyles",enabled:!1}])};return(0,wb.default)(a.current,b)?a.current||b:(a.current=b,b)},[l.onFirstUpdate,l.placement,l.strategy,l.modifiers,d]),y=w.useRef();return yh(function(){y.current&&y.current.setOptions(h)},[h]),yh(function(){if(!(e==null||t==null)){var b=o.createPopper||QE,v=b(e,t,h);return y.current=v,function(){v.destroy(),y.current=null}}},[e,t,o.createPopper]),{state:y.current?y.current.state:null,styles:f.styles,attributes:f.attributes,update:y.current?y.current.update:null,forceUpdate:y.current?y.current.forceUpdate:null}},"usePopper")}),s4=te(()=>{l4()});function Vg(e){var t=w.useRef(e);return t.current=e,w.useCallback(function(){return t.current},[])}function JE(e){var t=e.initial,o=e.value,a=e.onChange,l=a===void 0?tk:a;if(t===void 0&&o===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=w.useState(t),f=s[0],c=s[1],d=Vg(f),h=w.useCallback(function(b){var v=d(),x=typeof b=="function"?b(v):b;typeof x.persist=="function"&&x.persist(),c(x),typeof l=="function"&&l(x)},[d,l]),y=o!==void 0;return[y?o:f,y?l:h]}function Rh(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:g(function(){return null},"toJSON")}}}function ek(e,t){var o,a,l;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(Ph).reduce(function(ie,he){var de;return ot({},ie,(de={},de[he]=ie[he]!==void 0?ie[he]:Ph[he],de))},e),f=w.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),c=ot({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||f}),d=w.useState(null),h=d[0],y=d[1],b=w.useState(null),v=b[0],x=b[1],E=JE({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),S=E[0],k=E[1],_=w.useRef();w.useEffect(function(){return function(){return clearTimeout(_.current)}},[]);var A=ZE(s.followCursor?Ah:h,v,c),R=A.styles,O=A.attributes,P=hc(A,rk),I=P.update,T=Vg({visible:S,triggerRef:h,tooltipRef:v,finalConfig:s}),N=w.useCallback(function(ie){return Array.isArray(s.trigger)?s.trigger.includes(ie):s.trigger===ie},Array.isArray(s.trigger)?s.trigger:[s.trigger]),B=w.useCallback(function(){clearTimeout(_.current),_.current=window.setTimeout(function(){return k(!1)},s.delayHide)},[s.delayHide,k]),M=w.useCallback(function(){clearTimeout(_.current),_.current=window.setTimeout(function(){return k(!0)},s.delayShow)},[s.delayShow,k]),G=w.useCallback(function(){T().visible?B():M()},[T,B,M]);w.useEffect(function(){if(T().finalConfig.closeOnOutsideClick){var ie=g(function(he){var de,U=T(),J=U.tooltipRef,Q=U.triggerRef,j=(he.composedPath==null||(de=he.composedPath())==null?void 0:de[0])||he.target;j instanceof Node&&J!=null&&Q!=null&&!J.contains(j)&&!Q.contains(j)&&B()},"handleClickOutside");return document.addEventListener("mousedown",ie),function(){return document.removeEventListener("mousedown",ie)}}},[T,B]),w.useEffect(function(){if(!(h==null||!N("click")))return h.addEventListener("click",G),function(){return h.removeEventListener("click",G)}},[h,N,G]),w.useEffect(function(){if(!(h==null||!N("double-click")))return h.addEventListener("dblclick",G),function(){return h.removeEventListener("dblclick",G)}},[h,N,G]),w.useEffect(function(){if(!(h==null||!N("right-click"))){var ie=g(function(he){he.preventDefault(),G()},"preventDefaultAndToggle");return h.addEventListener("contextmenu",ie),function(){return h.removeEventListener("contextmenu",ie)}}},[h,N,G]),w.useEffect(function(){if(!(h==null||!N("focus")))return h.addEventListener("focus",M),h.addEventListener("blur",B),function(){h.removeEventListener("focus",M),h.removeEventListener("blur",B)}},[h,N,M,B]),w.useEffect(function(){if(!(h==null||!N("hover")))return h.addEventListener("mouseenter",M),h.addEventListener("mouseleave",B),function(){h.removeEventListener("mouseenter",M),h.removeEventListener("mouseleave",B)}},[h,N,M,B]),w.useEffect(function(){if(!(v==null||!N("hover")||!T().finalConfig.interactive))return v.addEventListener("mouseenter",M),v.addEventListener("mouseleave",B),function(){v.removeEventListener("mouseenter",M),v.removeEventListener("mouseleave",B)}},[v,N,M,B,T]);var ee=P==null||(o=P.state)==null||(a=o.modifiersData)==null||(l=a.hide)==null?void 0:l.isReferenceHidden;w.useEffect(function(){s.closeOnTriggerHidden&&ee&&B()},[s.closeOnTriggerHidden,B,ee]),w.useEffect(function(){if(!s.followCursor||h==null)return;function ie(he){var de=he.clientX,U=he.clientY;Ah.getBoundingClientRect=Rh(de,U),I==null||I()}return g(ie,"setMousePosition"),h.addEventListener("mousemove",ie),function(){return h.removeEventListener("mousemove",ie)}},[s.followCursor,h,I]),w.useEffect(function(){if(!(v==null||I==null||s.mutationObserverOptions==null)){var ie=new MutationObserver(I);return ie.observe(v,s.mutationObserverOptions),function(){return ie.disconnect()}}},[s.mutationObserverOptions,v,I]);var se=g(function(ie){return ie===void 0&&(ie={}),ot({},ie,{style:ot({},ie.style,R.popper)},O.popper,{"data-popper-interactive":s.interactive})},"getTooltipProps"),be=g(function(ie){return ie===void 0&&(ie={}),ot({},ie,O.arrow,{style:ot({},ie.style,R.arrow),"data-popper-arrow":!0})},"getArrowProps");return ot({getArrowProps:be,getTooltipProps:se,setTooltipRef:x,setTriggerRef:y,tooltipRef:v,triggerRef:h,visible:S},P)}var tk,rk,Ah,Ph,u4=te(()=>{bg(),dc(),s4(),g(Vg,"useGetLatest"),tk=g(function(){},"noop"),g(JE,"useControlledState"),g(Rh,"generateBoundingClientRect"),rk=["styles","attributes"],Ah={getBoundingClientRect:Rh()},Ph={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},g(ek,"usePopperTooltip")}),Sb,gr,Cn,Eb,kb,Th,c4=te(()=>{Sb=It(pc(),1),gr=(0,Sb.default)(1e3)((e,t,o,a=0)=>t.split("-")[0]===e?o:a),Cn=8,Eb=D.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,o=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{o=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${o}px, 0px)`}},({theme:e,color:t,placement:o})=>({bottom:`${gr("top",o,`${Cn*-1}px`,"auto")}`,top:`${gr("bottom",o,`${Cn*-1}px`,"auto")}`,right:`${gr("left",o,`${Cn*-1}px`,"auto")}`,left:`${gr("right",o,`${Cn*-1}px`,"auto")}`,borderBottomWidth:`${gr("top",o,"0",Cn)}px`,borderTopWidth:`${gr("bottom",o,"0",Cn)}px`,borderRightWidth:`${gr("left",o,"0",Cn)}px`,borderLeftWidth:`${gr("right",o,"0",Cn)}px`,borderTopColor:gr("top",o,e.color[t]||t||e.base==="light"?al(e.background.app):e.background.app,"transparent"),borderBottomColor:gr("bottom",o,e.color[t]||t||e.base==="light"?al(e.background.app):e.background.app,"transparent"),borderLeftColor:gr("left",o,e.color[t]||t||e.base==="light"?al(e.background.app):e.background.app,"transparent"),borderRightColor:gr("right",o,e.color[t]||t||e.base==="light"?al(e.background.app):e.background.app,"transparent")})),kb=D.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:o})=>o?{background:t&&e.color[t]||t||e.base==="light"?al(e.background.app):e.background.app,filter:`
|
263
|
+
drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
|
264
|
+
drop-shadow(0 1px 3px rgba(0,0,0,0.1))
|
265
|
+
`,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),Th=K.forwardRef(({placement:e="top",hasChrome:t=!0,children:o,arrowProps:a={},tooltipRef:l,color:s,withArrows:f,...c},d)=>K.createElement(kb,{"data-testid":"tooltip",hasChrome:t,ref:d,...c,color:s},t&&f&&K.createElement(Eb,{placement:e,...a,color:s}),o)),Th.displayName="Tooltip"}),Gg={};Ml(Gg,{WithToolTipState:()=>Wu,WithTooltip:()=>Wu,WithTooltipPure:()=>Ih});var ul,Cb,_b,Ih,Wu,Yg=te(()=>{u4(),c4(),{document:ul}=Ll,Cb=D.div`
|
266
|
+
display: inline-block;
|
267
|
+
cursor: ${e=>{var t;return e.trigger==="hover"||(t=e.trigger)!=null&&t.includes("hover")?"default":"pointer"}};
|
268
|
+
`,_b=D.g`
|
269
|
+
cursor: ${e=>{var t;return e.trigger==="hover"||(t=e.trigger)!=null&&t.includes("hover")?"default":"pointer"}};
|
270
|
+
`,Ih=g(({svg:e=!1,trigger:t="click",closeOnOutsideClick:o=!1,placement:a="top",modifiers:l=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:s=!0,defaultVisible:f=!1,withArrows:c,offset:d,tooltip:h,children:y,closeOnTriggerHidden:b,mutationObserverOptions:v,delayHide:x=t==="hover"?200:0,visible:E,interactive:S,delayShow:k=t==="hover"?400:0,strategy:_,followCursor:A,onVisibleChange:R,...O})=>{let P=e?_b:Cb,{getArrowProps:I,getTooltipProps:T,setTooltipRef:N,setTriggerRef:B,visible:M,state:G}=ek({trigger:t,placement:a,defaultVisible:f,delayHide:x,interactive:S,closeOnOutsideClick:o,closeOnTriggerHidden:b,onVisibleChange:R,delayShow:k,followCursor:A,mutationObserverOptions:v,visible:E,offset:d},{modifiers:l,strategy:_}),ee=M?K.createElement(Th,{placement:G==null?void 0:G.placement,ref:N,hasChrome:s,arrowProps:I(),withArrows:c,...T()},typeof h=="function"?h({onHide:g(()=>R(!1),"onHide")}):h):null;return K.createElement(K.Fragment,null,K.createElement(P,{trigger:t,ref:B,...O},y),M&&Bx.createPortal(ee,ul.body))},"WithTooltipPure"),Wu=g(({startOpen:e=!1,onVisibleChange:t,...o})=>{let[a,l]=w.useState(e),s=w.useCallback(f=>{t&&t(f)===!1||l(f)},[t]);return w.useEffect(()=>{let f=g(()=>s(!1),"hide");ul.addEventListener("keydown",f,!1);let c=Array.from(ul.getElementsByTagName("iframe")),d=[];return c.forEach(h=>{let y=g(()=>{try{h.contentWindow.document&&(h.contentWindow.document.addEventListener("click",f),d.push(()=>{try{h.contentWindow.document.removeEventListener("click",f)}catch{}}))}catch{}},"bind");y(),h.addEventListener("load",y),d.push(()=>{h.removeEventListener("load",y)})}),()=>{ul.removeEventListener("keydown",f),d.forEach(h=>{h()})}}),K.createElement(Ih,{...o,visible:a,onVisibleChange:s})},"WithToolTipState")}),ft=g(({...e},t)=>{let o=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...o].filter(Boolean).join(" "),e},"nameSpaceClassNames");dc();gA();yg();function nk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oi(e,t)}g(nk,"_inheritsLoose");mA();yg();function ok(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}g(ok,"_isNativeFunction");function Kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Kg=g(function(){return!!e},"_isNativeReflectConstruct"))()}g(Kg,"_isNativeReflectConstruct");yg();function ak(e,t,o){if(Kg())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var l=new(e.bind.apply(e,a));return o&&oi(l,o.prototype),l}g(ak,"_construct");function qu(e){var t=typeof Map=="function"?new Map:void 0;return qu=g(function(o){if(o===null||!ok(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(o))return t.get(o);t.set(o,a)}function a(){return ak(o,arguments,$u(this).constructor)}return g(a,"Wrapper"),a.prototype=Object.create(o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),oi(a,o)},"_wrapNativeSuper"),qu(e)}g(qu,"_wrapNativeSuper");var f4={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
271
|
+
|
272
|
+
`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
|
273
|
+
|
274
|
+
`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.
|
275
|
+
|
276
|
+
`,4:`Couldn't generate valid rgb string from %s, it returned %s.
|
277
|
+
|
278
|
+
`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
|
279
|
+
|
280
|
+
`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).
|
281
|
+
|
282
|
+
`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).
|
283
|
+
|
284
|
+
`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.
|
285
|
+
|
286
|
+
`,9:`Please provide a number of steps to the modularScale helper.
|
287
|
+
|
288
|
+
`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
|
289
|
+
|
290
|
+
`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s"
|
291
|
+
|
292
|
+
`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.
|
293
|
+
|
294
|
+
`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.
|
295
|
+
|
296
|
+
`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.
|
297
|
+
|
298
|
+
`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.
|
299
|
+
|
300
|
+
`,16:`You must provide a template to this method.
|
301
|
+
|
302
|
+
`,17:`You passed an unsupported selector state to this method.
|
303
|
+
|
304
|
+
`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.
|
305
|
+
|
306
|
+
`,19:`fromSize and toSize must be provided as stringified numbers with the same units.
|
307
|
+
|
308
|
+
`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
|
309
|
+
|
310
|
+
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family.
|
311
|
+
|
312
|
+
`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.
|
313
|
+
|
314
|
+
`,25:`fontFace expects localFonts to be an array.
|
315
|
+
|
316
|
+
`,26:`fontFace expects fileFormats to be an array.
|
317
|
+
|
318
|
+
`,27:`radialGradient requries at least 2 color-stops to properly render.
|
319
|
+
|
320
|
+
`,28:`Please supply a filename to retinaImage() as the first argument.
|
321
|
+
|
322
|
+
`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
|
323
|
+
|
324
|
+
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation
|
325
|
+
|
326
|
+
`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])
|
327
|
+
To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')
|
328
|
+
|
329
|
+
`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation
|
330
|
+
|
331
|
+
`,34:`borderRadius expects a radius value as a string or number as the second argument.
|
332
|
+
|
333
|
+
`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
|
334
|
+
|
335
|
+
`,36:`Property must be a string value.
|
336
|
+
|
337
|
+
`,37:`Syntax Error at %s.
|
338
|
+
|
339
|
+
`,38:`Formula contains a function that needs parentheses at %s.
|
340
|
+
|
341
|
+
`,39:`Formula is missing closing parenthesis at %s.
|
342
|
+
|
343
|
+
`,40:`Formula has too many closing parentheses at %s.
|
344
|
+
|
345
|
+
`,41:`All values in a formula must have the same unit or be unitless.
|
346
|
+
|
347
|
+
`,42:`Please provide a number of steps to the modularScale helper.
|
348
|
+
|
349
|
+
`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
|
350
|
+
|
351
|
+
`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.
|
352
|
+
|
353
|
+
`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.
|
354
|
+
|
355
|
+
`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.
|
356
|
+
|
357
|
+
`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.
|
358
|
+
|
359
|
+
`,48:`fromSize and toSize must be provided as stringified numbers with the same units.
|
360
|
+
|
361
|
+
`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
|
362
|
+
|
363
|
+
`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.
|
364
|
+
|
365
|
+
`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.
|
366
|
+
|
367
|
+
`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.
|
368
|
+
|
369
|
+
`,53:`fontFace expects localFonts to be an array.
|
370
|
+
|
371
|
+
`,54:`fontFace expects fileFormats to be an array.
|
372
|
+
|
373
|
+
`,55:`fontFace expects a name of a font-family.
|
374
|
+
|
375
|
+
`,56:`linearGradient requries at least 2 color-stops to properly render.
|
376
|
+
|
377
|
+
`,57:`radialGradient requries at least 2 color-stops to properly render.
|
378
|
+
|
379
|
+
`,58:`Please supply a filename to retinaImage() as the first argument.
|
380
|
+
|
381
|
+
`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
|
382
|
+
|
383
|
+
`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value.
|
384
|
+
|
385
|
+
`,62:`borderRadius expects a radius value as a string or number as the second argument.
|
386
|
+
|
387
|
+
`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
|
388
|
+
|
389
|
+
`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.
|
390
|
+
|
391
|
+
`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').
|
392
|
+
|
393
|
+
`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.
|
394
|
+
|
395
|
+
`,67:`You must provide a template to this method.
|
396
|
+
|
397
|
+
`,68:`You passed an unsupported selector state to this method.
|
398
|
+
|
399
|
+
`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.
|
400
|
+
|
401
|
+
`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.
|
402
|
+
|
403
|
+
`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.
|
404
|
+
|
405
|
+
`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12.
|
406
|
+
|
407
|
+
`,73:`Please provide a valid CSS variable.
|
408
|
+
|
409
|
+
`,74:`CSS variable not found and no default was provided.
|
410
|
+
|
411
|
+
`,75:`important requires a valid style object, got a %s instead.
|
412
|
+
|
413
|
+
`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.
|
414
|
+
|
415
|
+
`,77:`remToPx expects a value in "rem" but you provided it in "%s".
|
416
|
+
|
417
|
+
`,78:`base must be set in "px" or "%" but you set it in "%s".
|
418
|
+
`};function ik(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a=t[0],l=[],s;for(s=1;s<t.length;s+=1)l.push(t[s]);return l.forEach(function(f){a=a.replace(/%[a-z]/,f)}),a}g(ik,"format");var tr=function(e){nk(t,e);function t(o){for(var a,l=arguments.length,s=new Array(l>1?l-1:0),f=1;f<l;f++)s[f-1]=arguments[f];return a=e.call(this,ik.apply(void 0,[f4[o]].concat(s)))||this,Ux(a)}return g(t,"PolishedError"),t}(qu(Error));function Fh(e,t){return e.substr(-t.length)===t}g(Fh,"endsWith");var d4=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function Nh(e){if(typeof e!="string")return e;var t=e.match(d4);return t?parseFloat(e):e}g(Nh,"stripUnit");var p4=g(function(e){return function(t,o){o===void 0&&(o="16px");var a=t,l=o;if(typeof t=="string"){if(!Fh(t,"px"))throw new tr(69,e,t);a=Nh(t)}if(typeof o=="string"){if(!Fh(o,"px"))throw new tr(70,e,o);l=Nh(o)}if(typeof a=="string")throw new tr(71,t,e);if(typeof l=="string")throw new tr(72,o,e);return""+a/l+e}},"pxtoFactory"),lk=p4;lk("em");lk("rem");function yu(e){return Math.round(e*255)}g(yu,"colorToInt");function sk(e,t,o){return yu(e)+","+yu(t)+","+yu(o)}g(sk,"convertToInt");function si(e,t,o,a){if(a===void 0&&(a=sk),t===0)return a(o,o,o);var l=(e%360+360)%360/60,s=(1-Math.abs(2*o-1))*t,f=s*(1-Math.abs(l%2-1)),c=0,d=0,h=0;l>=0&&l<1?(c=s,d=f):l>=1&&l<2?(c=f,d=s):l>=2&&l<3?(d=s,h=f):l>=3&&l<4?(d=f,h=s):l>=4&&l<5?(c=f,h=s):l>=5&&l<6&&(c=s,h=f);var y=o-s/2,b=c+y,v=d+y,x=h+y;return a(b,v,x)}g(si,"hslToRgb");var Ob={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function uk(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ob[t]?"#"+Ob[t]:e}g(uk,"nameToHex");var h4=/^#[a-fA-F0-9]{6}$/,g4=/^#[a-fA-F0-9]{8}$/,m4=/^#[a-fA-F0-9]{3}$/,v4=/^#[a-fA-F0-9]{4}$/,$p=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,y4=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,b4=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,w4=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Zo(e){if(typeof e!="string")throw new tr(3);var t=uk(e);if(t.match(h4))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(g4)){var o=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:o}}if(t.match(m4))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(v4)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var l=$p.exec(t);if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)};var s=y4.exec(t.substring(0,50));if(s)return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])};var f=b4.exec(t);if(f){var c=parseInt(""+f[1],10),d=parseInt(""+f[2],10)/100,h=parseInt(""+f[3],10)/100,y="rgb("+si(c,d,h)+")",b=$p.exec(y);if(!b)throw new tr(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var v=w4.exec(t.substring(0,50));if(v){var x=parseInt(""+v[1],10),E=parseInt(""+v[2],10)/100,S=parseInt(""+v[3],10)/100,k="rgb("+si(x,E,S)+")",_=$p.exec(k);if(!_)throw new tr(4,t,k);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new tr(5)}g(Zo,"parseToRgb");function ck(e){var t=e.red/255,o=e.green/255,a=e.blue/255,l=Math.max(t,o,a),s=Math.min(t,o,a),f=(l+s)/2;if(l===s)return e.alpha!==void 0?{hue:0,saturation:0,lightness:f,alpha:e.alpha}:{hue:0,saturation:0,lightness:f};var c,d=l-s,h=f>.5?d/(2-l-s):d/(l+s);switch(l){case t:c=(o-a)/d+(o<a?6:0);break;case o:c=(a-t)/d+2;break;default:c=(t-o)/d+4;break}return c*=60,e.alpha!==void 0?{hue:c,saturation:h,lightness:f,alpha:e.alpha}:{hue:c,saturation:h,lightness:f}}g(ck,"rgbToHsl");function Tn(e){return ck(Zo(e))}g(Tn,"parseToHsl");var x4=g(function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},"reduceHexValue"),Lh=x4;function co(e){var t=e.toString(16);return t.length===1?"0"+t:t}g(co,"numberToHex");function bu(e){return co(Math.round(e*255))}g(bu,"colorToHex");function fk(e,t,o){return Lh("#"+bu(e)+bu(t)+bu(o))}g(fk,"convertToHex");function Fl(e,t,o){return si(e,t,o,fk)}g(Fl,"hslToHex");function dk(e,t,o){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number")return Fl(e,t,o);if(typeof e=="object"&&t===void 0&&o===void 0)return Fl(e.hue,e.saturation,e.lightness);throw new tr(1)}g(dk,"hsl");function pk(e,t,o,a){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number"&&typeof a=="number")return a>=1?Fl(e,t,o):"rgba("+si(e,t,o)+","+a+")";if(typeof e=="object"&&t===void 0&&o===void 0&&a===void 0)return e.alpha>=1?Fl(e.hue,e.saturation,e.lightness):"rgba("+si(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new tr(2)}g(pk,"hsla");function Vu(e,t,o){if(typeof e=="number"&&typeof t=="number"&&typeof o=="number")return Lh("#"+co(e)+co(t)+co(o));if(typeof e=="object"&&t===void 0&&o===void 0)return Lh("#"+co(e.red)+co(e.green)+co(e.blue));throw new tr(6)}g(Vu,"rgb");function Jo(e,t,o,a){if(typeof e=="string"&&typeof t=="number"){var l=Zo(e);return"rgba("+l.red+","+l.green+","+l.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof o=="number"&&typeof a=="number")return a>=1?Vu(e,t,o):"rgba("+e+","+t+","+o+","+a+")";if(typeof e=="object"&&t===void 0&&o===void 0&&a===void 0)return e.alpha>=1?Vu(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new tr(7)}g(Jo,"rgba");var S4=g(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),E4=g(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),k4=g(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),C4=g(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function In(e){if(typeof e!="object")throw new tr(8);if(E4(e))return Jo(e);if(S4(e))return Vu(e);if(C4(e))return pk(e);if(k4(e))return dk(e);throw new tr(8)}g(In,"toColorString");function Xg(e,t,o){return g(function(){var a=o.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Xg(e,t,a)},"fn")}g(Xg,"curried");function sr(e){return Xg(e,e.length,[])}g(sr,"curry");function hk(e,t){if(t==="transparent")return t;var o=Tn(t);return In(ot({},o,{hue:o.hue+parseFloat(e)}))}g(hk,"adjustHue");sr(hk);function aa(e,t,o){return Math.max(e,Math.min(t,o))}g(aa,"guard");function gk(e,t){if(t==="transparent")return t;var o=Tn(t);return In(ot({},o,{lightness:aa(0,1,o.lightness-parseFloat(e))}))}g(gk,"darken");var _4=sr(gk),Ba=_4;function mk(e,t){if(t==="transparent")return t;var o=Tn(t);return In(ot({},o,{saturation:aa(0,1,o.saturation-parseFloat(e))}))}g(mk,"desaturate");sr(mk);function vk(e,t){if(t==="transparent")return t;var o=Tn(t);return In(ot({},o,{lightness:aa(0,1,o.lightness+parseFloat(e))}))}g(vk,"lighten");var O4=sr(vk),Rb=O4;function yk(e,t,o){if(t==="transparent")return o;if(o==="transparent")return t;if(e===0)return o;var a=Zo(t),l=ot({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),s=Zo(o),f=ot({},s,{alpha:typeof s.alpha=="number"?s.alpha:1}),c=l.alpha-f.alpha,d=parseFloat(e)*2-1,h=d*c===-1?d:d+c,y=1+d*c,b=(h/y+1)/2,v=1-b,x={red:Math.floor(l.red*b+f.red*v),green:Math.floor(l.green*b+f.green*v),blue:Math.floor(l.blue*b+f.blue*v),alpha:l.alpha*parseFloat(e)+f.alpha*(1-parseFloat(e))};return Jo(x)}g(yk,"mix");var R4=sr(yk),bk=R4;function wk(e,t){if(t==="transparent")return t;var o=Zo(t),a=typeof o.alpha=="number"?o.alpha:1,l=ot({},o,{alpha:aa(0,1,(a*100+parseFloat(e)*100)/100)});return Jo(l)}g(wk,"opacify");sr(wk);function xk(e,t){if(t==="transparent")return t;var o=Tn(t);return In(ot({},o,{saturation:aa(0,1,o.saturation+parseFloat(e))}))}g(xk,"saturate");sr(xk);function Sk(e,t){return t==="transparent"?t:In(ot({},Tn(t),{hue:parseFloat(e)}))}g(Sk,"setHue");sr(Sk);function Ek(e,t){return t==="transparent"?t:In(ot({},Tn(t),{lightness:parseFloat(e)}))}g(Ek,"setLightness");sr(Ek);function kk(e,t){return t==="transparent"?t:In(ot({},Tn(t),{saturation:parseFloat(e)}))}g(kk,"setSaturation");sr(kk);function Ck(e,t){return t==="transparent"?t:bk(parseFloat(e),"rgb(0, 0, 0)",t)}g(Ck,"shade");sr(Ck);function _k(e,t){return t==="transparent"?t:bk(parseFloat(e),"rgb(255, 255, 255)",t)}g(_k,"tint");sr(_k);function Ok(e,t){if(t==="transparent")return t;var o=Zo(t),a=typeof o.alpha=="number"?o.alpha:1,l=ot({},o,{alpha:aa(0,1,+(a*100-parseFloat(e)*100).toFixed(2)/100)});return Jo(l)}g(Ok,"transparentize");var A4=sr(Ok),Pr=A4,yi=g(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Cc=g(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Pr(.1,e.color.defaultText):Pr(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),Rt=g(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),ia={margin:"16px 0"},P4=D.div(Rt),T4=g(({href:e="",...t})=>{let o=/^\//.test(e)?`./?path=${e}`:e,a=/^#.*/.test(e)?"_self":"_top";return K.createElement("a",{href:o,target:a,...t})},"Link"),I4=D(T4)(Rt,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),F4=D.blockquote(Rt,ia,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));mc();var N4=g(e=>typeof e=="string","isReactChildString"),L4=/[\n\r]/g,j4=D.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Cc),$4=D(El)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),M4=g(({className:e,children:t,...o})=>{let a=(e||"").match(/lang-(\S+)/),l=w.Children.toArray(t);return l.filter(N4).some(s=>s.match(L4))?K.createElement($4,{bordered:!0,copyable:!0,language:(a==null?void 0:a[1])??"text",format:!1,...o},t):K.createElement(j4,{...o,className:e},l)},"Code"),D4=D.dl(Rt,ia,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),z4=D.div(Rt),B4=D.h1(Rt,yi,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),H4=D.h2(Rt,yi,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),U4=D.h3(Rt,yi,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),W4=D.h4(Rt,yi,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),q4=D.h5(Rt,yi,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),V4=D.h6(Rt,yi,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),G4=D.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),Y4=D.img({maxWidth:"100%"}),K4=D.li(Rt,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Cc({theme:e})})),X4={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},Q4=D.ol(Rt,ia,X4,{listStyle:"decimal"}),Z4=D.p(Rt,ia,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Cc({theme:e})})),J4=D.pre(Rt,ia,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),eT=D.span(Rt,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),tT=D.title(Cc),rT=D.table(Rt,ia,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),nT={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},oT=D.ul(Rt,ia,nT,{listStyle:"disc"}),aT={h1:g(e=>K.createElement(B4,{...ft(e,"h1")}),"h1"),h2:g(e=>K.createElement(H4,{...ft(e,"h2")}),"h2"),h3:g(e=>K.createElement(U4,{...ft(e,"h3")}),"h3"),h4:g(e=>K.createElement(W4,{...ft(e,"h4")}),"h4"),h5:g(e=>K.createElement(q4,{...ft(e,"h5")}),"h5"),h6:g(e=>K.createElement(V4,{...ft(e,"h6")}),"h6"),pre:g(e=>K.createElement(J4,{...ft(e,"pre")}),"pre"),a:g(e=>K.createElement(I4,{...ft(e,"a")}),"a"),hr:g(e=>K.createElement(G4,{...ft(e,"hr")}),"hr"),dl:g(e=>K.createElement(D4,{...ft(e,"dl")}),"dl"),blockquote:g(e=>K.createElement(F4,{...ft(e,"blockquote")}),"blockquote"),table:g(e=>K.createElement(rT,{...ft(e,"table")}),"table"),img:g(e=>K.createElement(Y4,{...ft(e,"img")}),"img"),div:g(e=>K.createElement(z4,{...ft(e,"div")}),"div"),span:g(e=>K.createElement(eT,{...ft(e,"span")}),"span"),li:g(e=>K.createElement(K4,{...ft(e,"li")}),"li"),ul:g(e=>K.createElement(oT,{...ft(e,"ul")}),"ul"),ol:g(e=>K.createElement(Q4,{...ft(e,"ol")}),"ol"),p:g(e=>K.createElement(Z4,{...ft(e,"p")}),"p"),code:g(e=>K.createElement(M4,{...ft(e,"code")}),"code"),tt:g(e=>K.createElement(tT,{...ft(e,"tt")}),"tt"),resetwrapper:g(e=>K.createElement(P4,{...ft(e,"resetwrapper")}),"resetwrapper")};D.div(({theme:e,compact:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"12px",minWidth:20,borderRadius:20,padding:t?"4px 7px":"4px 10px"}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Pr(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Pr(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.textMutedColor,background:e.base==="light"?e.background.app:e.barBg,boxShadow:`inset 0 0 0 1px ${Pr(.8,e.textMutedColor)}`};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Pr(.9,e.color.positiveText)}`:"none"};case"active":return{color:e.color.secondary,background:e.background.hoverable,boxShadow:`inset 0 0 0 1px ${Pr(.9,e.color.secondary)}`};default:return{}}});var iT=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),lT=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e})));D.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{});D.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Ba(.07,e.color.secondary),"svg path:not([fill])":{fill:Ba(.07,e.color.secondary)}},"&:active":{color:Ba(.1,e.color.secondary),"svg path:not([fill])":{fill:Ba(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:o})=>{let a;return t&&(a=[e.textMutedColor,e.color.dark,e.color.darker]),o&&(a=[e.color.dark,e.color.darkest,e.textMutedColor]),a?{color:a[0],"svg path:not([fill])":{fill:a[0]},"&:hover":{color:a[1],"svg path:not([fill])":{fill:a[1]}},"&:active":{color:a[2],"svg path:not([fill])":{fill:a[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{});D.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var Uo=[],ui=null,sT=w.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(mc(),Tg));return Uo.length>0&&(Uo.forEach(t=>{e.registerLanguage(...t)}),Uo=[]),ui===null&&(ui=e),{default:g(t=>K.createElement(e,{...t}),"default")}}),uT=w.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(mc(),Tg)),Promise.resolve().then(()=>(TP(),eE))]);return Uo.length>0&&(Uo.forEach(o=>{e.registerLanguage(...o)}),Uo=[]),ui===null&&(ui=e),{default:g(o=>K.createElement(e,{...o,formatter:t}),"default")}}),cT=g(e=>K.createElement(w.Suspense,{fallback:K.createElement("div",null)},e.format!==!1?K.createElement(uT,{...e}):K.createElement(sT,{...e})),"SyntaxHighlighter");cT.registerLanguage=(...e)=>{if(ui!==null){ui.registerLanguage(...e);return}Uo.push(e)};mc();$S();var Rk={};Ml(Rk,{Close:()=>$2,Content:()=>N2,Description:()=>j2,Dialog:()=>tm,DialogClose:()=>cm,DialogContent:()=>im,DialogDescription:()=>um,DialogOverlay:()=>am,DialogPortal:()=>om,DialogTitle:()=>sm,DialogTrigger:()=>rm,Overlay:()=>F2,Portal:()=>I2,Root:()=>T2,Title:()=>L2,Trigger:()=>cI,WarningProvider:()=>iI,createDialogScope:()=>JT});function Ga(e,t,{checkForDefaultPrevented:o=!0}={}){return g(function(a){if(e==null||e(a),o===!1||!a.defaultPrevented)return t==null?void 0:t(a)},"handleEvent")}g(Ga,"composeEventHandlers");function jh(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}g(jh,"setRef");function Qg(...e){return t=>{let o=!1,a=e.map(l=>{let s=jh(l,t);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let l=0;l<a.length;l++){let s=a[l];typeof s=="function"?s():jh(e[l],null)}}}}g(Qg,"composeRefs");function xo(...e){return w.useCallback(Qg(...e),e)}g(xo,"useComposedRefs");function Ak(e,t){let o=w.createContext(t),a=g(s=>{let{children:f,...c}=s,d=w.useMemo(()=>c,Object.values(c));return L.jsx(o.Provider,{value:d,children:f})},"Provider");a.displayName=e+"Provider";function l(s){let f=w.useContext(o);if(f)return f;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return g(l,"useContext2"),[a,l]}g(Ak,"createContext2");function Pk(e,t=[]){let o=[];function a(s,f){let c=w.createContext(f),d=o.length;o=[...o,f];let h=g(b=>{var _;let{scope:v,children:x,...E}=b,S=((_=v==null?void 0:v[e])==null?void 0:_[d])||c,k=w.useMemo(()=>E,Object.values(E));return L.jsx(S.Provider,{value:k,children:x})},"Provider");h.displayName=s+"Provider";function y(b,v){var S;let x=((S=v==null?void 0:v[e])==null?void 0:S[d])||c,E=w.useContext(x);if(E)return E;if(f!==void 0)return f;throw new Error(`\`${b}\` must be used within \`${s}\``)}return g(y,"useContext2"),[h,y]}g(a,"createContext3");let l=g(()=>{let s=o.map(f=>w.createContext(f));return g(function(f){let c=(f==null?void 0:f[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...f,[e]:c}}),[f,c])},"useScope")},"createScope");return l.scopeName=e,[a,Tk(l,...t)]}g(Pk,"createContextScope");function Tk(...e){let t=e[0];if(e.length===1)return t;let o=g(()=>{let a=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return g(function(l){let s=a.reduce((f,{useScope:c,scopeName:d})=>{let h=c(l)[`__scope${d}`];return{...f,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])},"useComposedScopes")},"createScope");return o.scopeName=t.scopeName,o}g(Tk,"composeContextScopes");var Nl=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},fT=ow[" useId ".trim().toString()]||(()=>{}),dT=0;function wu(e){let[t,o]=w.useState(fT());return Nl(()=>{e||o(a=>a??String(dT++))},[e]),e||(t?`radix-${t}`:"")}g(wu,"useId");var pT=ow[" useInsertionEffect ".trim().toString()]||Nl;function Ik({prop:e,defaultProp:t,onChange:o=g(()=>{},"onChange"),caller:a}){let[l,s,f]=Fk({defaultProp:t,onChange:o}),c=e!==void 0,d=c?e:l;{let y=w.useRef(e!==void 0);w.useEffect(()=>{let b=y.current;b!==c&&console.warn(`${a} is changing from ${b?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=c},[c,a])}let h=w.useCallback(y=>{var b;if(c){let v=Nk(y)?y(e):y;v!==e&&((b=f.current)==null||b.call(f,v))}else s(y)},[c,e,s,f]);return[d,h]}g(Ik,"useControllableState");function Fk({defaultProp:e,onChange:t}){let[o,a]=w.useState(e),l=w.useRef(o),s=w.useRef(t);return pT(()=>{s.current=t},[t]),w.useEffect(()=>{var f;l.current!==o&&((f=s.current)==null||f.call(s,o),l.current=o)},[o,l]),[o,a,s]}g(Fk,"useUncontrolledState");function Nk(e){return typeof e=="function"}g(Nk,"isFunction");function xu(e,t,{checkForDefaultPrevented:o=!0}={}){return g(function(a){if(e==null||e(a),o===!1||!a.defaultPrevented)return t==null?void 0:t(a)},"handleEvent")}g(xu,"composeEventHandlers");function _c(e){let t=Lk(e),o=w.forwardRef((a,l)=>{let{children:s,...f}=a,c=w.Children.toArray(s),d=c.find(jk);if(d){let h=d.props.children,y=c.map(b=>b===d?w.Children.count(h)>1?w.Children.only(null):w.isValidElement(h)?h.props.children:null:b);return L.jsx(t,{...f,ref:l,children:w.isValidElement(h)?w.cloneElement(h,void 0,y):null})}return L.jsx(t,{...f,ref:l,children:s})});return o.displayName=`${e}.Slot`,o}g(_c,"createSlot");var hT=_c("Slot");function Lk(e){let t=w.forwardRef((o,a)=>{let{children:l,...s}=o;if(w.isValidElement(l)){let f=Mk(l),c=$k(s,l.props);return l.type!==w.Fragment&&(c.ref=a?Qg(a,f):f),w.cloneElement(l,c)}return w.Children.count(l)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}g(Lk,"createSlotClone");var gT=Symbol("radix.slottable");function jk(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===gT}g(jk,"isSlottable");function $k(e,t){let o={...t};for(let a in t){let l=e[a],s=t[a];/^on[A-Z]/.test(a)?l&&s?o[a]=(...f)=>{s(...f),l(...f)}:l&&(o[a]=l):a==="style"?o[a]={...l,...s}:a==="className"&&(o[a]=[l,s].filter(Boolean).join(" "))}return{...e,...o}}g($k,"mergeProps");function Mk(e){var a,l;let t=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}g(Mk,"getElementRef");var mT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Fn=mT.reduce((e,t)=>{let o=_c(`Primitive.${t}`),a=w.forwardRef((l,s)=>{let{asChild:f,...c}=l,d=f?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),L.jsx(d,{...c,ref:s})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function Dk(e,t){e&&cc.flushSync(()=>e.dispatchEvent(t))}g(Dk,"dispatchDiscreteCustomEvent");function ci(e){let t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...o)=>{var a;return(a=t.current)==null?void 0:a.call(t,...o)},[])}g(ci,"useCallbackRef");function zk(e,t=globalThis==null?void 0:globalThis.document){let o=ci(e);w.useEffect(()=>{let a=g(l=>{l.key==="Escape"&&o(l)},"handleKeyDown");return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[o,t])}g(zk,"useEscapeKeydown");var vT="DismissableLayer",$h="dismissableLayer.update",yT="dismissableLayer.pointerDownOutside",bT="dismissableLayer.focusOutside",Ab,Bk=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Hk=w.forwardRef((e,t)=>{let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:f,onDismiss:c,...d}=e,h=w.useContext(Bk),[y,b]=w.useState(null),v=(y==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=w.useState({}),E=xo(t,T=>b(T)),S=Array.from(h.layers),[k]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),_=S.indexOf(k),A=y?S.indexOf(y):-1,R=h.layersWithOutsidePointerEventsDisabled.size>0,O=A>=_,P=Uk(T=>{let N=T.target,B=[...h.branches].some(M=>M.contains(N));!O||B||(l==null||l(T),f==null||f(T),T.defaultPrevented||(c==null||c()))},v),I=Wk(T=>{let N=T.target;[...h.branches].some(B=>B.contains(N))||(s==null||s(T),f==null||f(T),T.defaultPrevented||(c==null||c()))},v);return zk(T=>{A===h.layers.size-1&&(a==null||a(T),!T.defaultPrevented&&c&&(T.preventDefault(),c()))},v),w.useEffect(()=>{if(y)return o&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Ab=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),Mh(),()=>{o&&h.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Ab)}},[y,v,o,h]),w.useEffect(()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),Mh())},[y,h]),w.useEffect(()=>{let T=g(()=>x({}),"handleUpdate");return document.addEventListener($h,T),()=>document.removeEventListener($h,T)},[]),L.jsx(Fn.div,{...d,ref:E,style:{pointerEvents:R?O?"auto":"none":void 0,...e.style},onFocusCapture:xu(e.onFocusCapture,I.onFocusCapture),onBlurCapture:xu(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:xu(e.onPointerDownCapture,P.onPointerDownCapture)})});Hk.displayName=vT;var wT="DismissableLayerBranch",xT=w.forwardRef((e,t)=>{let o=w.useContext(Bk),a=w.useRef(null),l=xo(t,a);return w.useEffect(()=>{let s=a.current;if(s)return o.branches.add(s),()=>{o.branches.delete(s)}},[o.branches]),L.jsx(Fn.div,{...e,ref:l})});xT.displayName=wT;function Uk(e,t=globalThis==null?void 0:globalThis.document){let o=ci(e),a=w.useRef(!1),l=w.useRef(()=>{});return w.useEffect(()=>{let s=g(c=>{if(c.target&&!a.current){let d=g(function(){Zg(yT,o,h,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2"),h={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",l.current),l.current=d,t.addEventListener("click",l.current,{once:!0})):d()}else t.removeEventListener("click",l.current);a.current=!1},"handlePointerDown"),f=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(f),t.removeEventListener("pointerdown",s),t.removeEventListener("click",l.current)}},[t,o]),{onPointerDownCapture:g(()=>a.current=!0,"onPointerDownCapture")}}g(Uk,"usePointerDownOutside");function Wk(e,t=globalThis==null?void 0:globalThis.document){let o=ci(e),a=w.useRef(!1);return w.useEffect(()=>{let l=g(s=>{s.target&&!a.current&&Zg(bT,o,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",l),()=>t.removeEventListener("focusin",l)},[t,o]),{onFocusCapture:g(()=>a.current=!0,"onFocusCapture"),onBlurCapture:g(()=>a.current=!1,"onBlurCapture")}}g(Wk,"useFocusOutside");function Mh(){let e=new CustomEvent($h);document.dispatchEvent(e)}g(Mh,"dispatchUpdate");function Zg(e,t,o,{discrete:a}){let l=o.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&l.addEventListener(e,t,{once:!0}),a?Dk(l,s):l.dispatchEvent(s)}g(Zg,"handleAndDispatchCustomEvent");var Mp="focusScope.autoFocusOnMount",Dp="focusScope.autoFocusOnUnmount",Pb={bubbles:!1,cancelable:!0},ST="FocusScope",qk=w.forwardRef((e,t)=>{let{loop:o=!1,trapped:a=!1,onMountAutoFocus:l,onUnmountAutoFocus:s,...f}=e,[c,d]=w.useState(null),h=ci(l),y=ci(s),b=w.useRef(null),v=xo(t,S=>d(S)),x=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(a){let S=g(function(R){if(x.paused||!c)return;let O=R.target;c.contains(O)?b.current=O:_n(b.current,{select:!0})},"handleFocusIn2"),k=g(function(R){if(x.paused||!c)return;let O=R.relatedTarget;O!==null&&(c.contains(O)||_n(b.current,{select:!0}))},"handleFocusOut2"),_=g(function(R){if(document.activeElement===document.body)for(let O of R)O.removedNodes.length>0&&_n(c)},"handleMutations2");document.addEventListener("focusin",S),document.addEventListener("focusout",k);let A=new MutationObserver(_);return c&&A.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k),A.disconnect()}}},[a,c,x.paused]),w.useEffect(()=>{if(c){Tb.add(x);let S=document.activeElement;if(!c.contains(S)){let k=new CustomEvent(Mp,Pb);c.addEventListener(Mp,h),c.dispatchEvent(k),k.defaultPrevented||(Vk(Qk(Jg(c)),{select:!0}),document.activeElement===S&&_n(c))}return()=>{c.removeEventListener(Mp,h),setTimeout(()=>{let k=new CustomEvent(Dp,Pb);c.addEventListener(Dp,y),c.dispatchEvent(k),k.defaultPrevented||_n(S??document.body,{select:!0}),c.removeEventListener(Dp,y),Tb.remove(x)},0)}}},[c,h,y,x]);let E=w.useCallback(S=>{if(!o&&!a||x.paused)return;let k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,_=document.activeElement;if(k&&_){let A=S.currentTarget,[R,O]=Gk(A);R&&O?!S.shiftKey&&_===O?(S.preventDefault(),o&&_n(R,{select:!0})):S.shiftKey&&_===R&&(S.preventDefault(),o&&_n(O,{select:!0})):_===A&&S.preventDefault()}},[o,a,x.paused]);return L.jsx(Fn.div,{tabIndex:-1,...f,ref:v,onKeyDown:E})});qk.displayName=ST;function Vk(e,{select:t=!1}={}){let o=document.activeElement;for(let a of e)if(_n(a,{select:t}),document.activeElement!==o)return}g(Vk,"focusFirst");function Gk(e){let t=Jg(e),o=Dh(t,e),a=Dh(t.reverse(),e);return[o,a]}g(Gk,"getTabbableEdges");function Jg(e){let t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:g(a=>{let l=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||l?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;o.nextNode();)t.push(o.currentNode);return t}g(Jg,"getTabbableCandidates");function Dh(e,t){for(let o of e)if(!Yk(o,{upTo:t}))return o}g(Dh,"findVisible");function Yk(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}g(Yk,"isHidden");function Kk(e){return e instanceof HTMLInputElement&&"select"in e}g(Kk,"isSelectableInput");function _n(e,{select:t=!1}={}){if(e&&e.focus){let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&Kk(e)&&t&&e.select()}}g(_n,"focus");var Tb=Xk();function Xk(){let e=[];return{add(t){let o=e[0];t!==o&&(o==null||o.pause()),e=zh(e,t),e.unshift(t)},remove(t){var o;e=zh(e,t),(o=e[0])==null||o.resume()}}}g(Xk,"createFocusScopesStack");function zh(e,t){let o=[...e],a=o.indexOf(t);return a!==-1&&o.splice(a,1),o}g(zh,"arrayRemove");function Qk(e){return e.filter(t=>t.tagName!=="A")}g(Qk,"removeLinks");var ET="Portal",Zk=w.forwardRef((e,t)=>{var c;let{container:o,...a}=e,[l,s]=w.useState(!1);Nl(()=>s(!0),[]);let f=o||l&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return f?Bx.createPortal(L.jsx(Fn.div,{...a,ref:t}),f):null});Zk.displayName=ET;function Jk(e,t){return w.useReducer((o,a)=>t[o][a]??o,e)}g(Jk,"useStateMachine");var Oc=g(e=>{let{present:t,children:o}=e,a=e2(t),l=typeof o=="function"?o({present:a.isPresent}):w.Children.only(o),s=xo(a.ref,t2(l));return typeof o=="function"||a.isPresent?w.cloneElement(l,{ref:s}):null},"Presence");Oc.displayName="Presence";function e2(e){let[t,o]=w.useState(),a=w.useRef(null),l=w.useRef(e),s=w.useRef("none"),f=e?"mounted":"unmounted",[c,d]=Jk(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{let h=ml(a.current);s.current=c==="mounted"?h:"none"},[c]),Nl(()=>{let h=a.current,y=l.current;if(y!==e){let b=s.current,v=ml(h);e?d("MOUNT"):v==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(y&&b!==v?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,d]),Nl(()=>{if(t){let h,y=t.ownerDocument.defaultView??window,b=g(x=>{let E=ml(a.current).includes(x.animationName);if(x.target===t&&E&&(d("ANIMATION_END"),!l.current)){let S=t.style.animationFillMode;t.style.animationFillMode="forwards",h=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},"handleAnimationEnd"),v=g(x=>{x.target===t&&(s.current=ml(a.current))},"handleAnimationStart");return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",b),t.addEventListener("animationend",b),()=>{y.clearTimeout(h),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",b),t.removeEventListener("animationend",b)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:w.useCallback(h=>{a.current=h?getComputedStyle(h):null,o(h)},[])}}g(e2,"usePresence");function ml(e){return(e==null?void 0:e.animationName)||"none"}g(ml,"getAnimationName");function t2(e){var a,l;let t=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}g(t2,"getElementRef");var zp=0;function r2(){w.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Bh()),document.body.insertAdjacentElement("beforeend",e[1]??Bh()),zp++,()=>{zp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),zp--}},[])}g(r2,"useFocusGuards");function Bh(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}g(Bh,"createFocusGuard");var on=g(function(){return on=Object.assign||g(function(e){for(var t,o=1,a=arguments.length;o<a;o++){t=arguments[o];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},"__assign"),on.apply(this,arguments)},"__assign");function em(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(e,a[l])&&(o[a[l]]=e[a[l]]);return o}g(em,"__rest");function n2(e,t,o){if(o||arguments.length===2)for(var a=0,l=t.length,s;a<l;a++)(s||!(a in t))&&(s||(s=Array.prototype.slice.call(t,0,a)),s[a]=t[a]);return e.concat(s||Array.prototype.slice.call(t))}g(n2,"__spreadArray");var Su="right-scroll-bar-position",Eu="width-before-scroll-bar",kT="with-scroll-bars-hidden",CT="--removed-body-scroll-bar-size";function ku(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}g(ku,"assignRef");function o2(e,t){var o=w.useState(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(a){var l=o.value;l!==a&&(o.value=a,o.callback(a,l))}}}})[0];return o.callback=t,o.facade}g(o2,"useCallbackRef");var _T=typeof window<"u"?w.useLayoutEffect:w.useEffect,Ib=new WeakMap;function a2(e,t){var o=o2(t||null,function(a){return e.forEach(function(l){return ku(l,a)})});return _T(function(){var a=Ib.get(o);if(a){var l=new Set(a),s=new Set(e),f=o.current;l.forEach(function(c){s.has(c)||ku(c,null)}),s.forEach(function(c){l.has(c)||ku(c,f)})}Ib.set(o,e)},[e]),o}g(a2,"useMergeRefs");function i2(e){return e}g(i2,"ItoI");function l2(e,t){t===void 0&&(t=i2);var o=[],a=!1,l={read:g(function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},"read"),useMedium:g(function(s){var f=t(s,a);return o.push(f),function(){o=o.filter(function(c){return c!==f})}},"useMedium"),assignSyncMedium:g(function(s){for(a=!0;o.length;){var f=o;o=[],f.forEach(s)}o={push:g(function(c){return s(c)},"push"),filter:g(function(){return o},"filter")}},"assignSyncMedium"),assignMedium:g(function(s){a=!0;var f=[];if(o.length){var c=o;o=[],c.forEach(s),f=o}var d=g(function(){var y=f;f=[],y.forEach(s)},"executeQueue"),h=g(function(){return Promise.resolve().then(d)},"cycle");h(),o={push:g(function(y){f.push(y),h()},"push"),filter:g(function(y){return f=f.filter(y),o},"filter")}},"assignMedium")};return l}g(l2,"innerCreateMedium");function s2(e){e===void 0&&(e={});var t=l2(null);return t.options=on({async:!0,ssr:!1},e),t}g(s2,"createSidecarMedium");var u2=g(function(e){var t=e.sideCar,o=em(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return w.createElement(a,on({},o))},"SideCar");u2.isSideCarExport=!0;function c2(e,t){return e.useMedium(t),u2}g(c2,"exportSidecar");var f2=s2(),Bp=g(function(){},"nothing"),Rc=w.forwardRef(function(e,t){var o=w.useRef(null),a=w.useState({onScrollCapture:Bp,onWheelCapture:Bp,onTouchMoveCapture:Bp}),l=a[0],s=a[1],f=e.forwardProps,c=e.children,d=e.className,h=e.removeScrollBar,y=e.enabled,b=e.shards,v=e.sideCar,x=e.noIsolation,E=e.inert,S=e.allowPinchZoom,k=e.as,_=k===void 0?"div":k,A=e.gapMode,R=em(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=v,P=a2([o,t]),I=on(on({},R),l);return w.createElement(w.Fragment,null,y&&w.createElement(O,{sideCar:f2,removeScrollBar:h,shards:b,noIsolation:x,inert:E,setCallbacks:s,allowPinchZoom:!!S,lockRef:o,gapMode:A}),f?w.cloneElement(w.Children.only(c),on(on({},I),{ref:P})):w.createElement(_,on({},I,{className:d,ref:P}),c))});Rc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Rc.classNames={fullWidth:Eu,zeroRight:Su};var OT=g(function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function d2(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=OT();return t&&e.setAttribute("nonce",t),e}g(d2,"makeStyleTag");function p2(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}g(p2,"injectStyles");function h2(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}g(h2,"insertStyleTag");var RT=g(function(){var e=0,t=null;return{add:g(function(o){e==0&&(t=d2())&&(p2(t,o),h2(t)),e++},"add"),remove:g(function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)},"remove")}},"stylesheetSingleton"),AT=g(function(){var e=RT();return function(t,o){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}},"styleHookSingleton"),g2=g(function(){var e=AT(),t=g(function(o){var a=o.styles,l=o.dynamic;return e(a,l),null},"Sheet");return t},"styleSingleton"),PT={left:0,top:0,right:0,gap:0},Hp=g(function(e){return parseInt(e||"",10)||0},"parse"),TT=g(function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],a=t[e==="padding"?"paddingTop":"marginTop"],l=t[e==="padding"?"paddingRight":"marginRight"];return[Hp(o),Hp(a),Hp(l)]},"getOffset"),IT=g(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return PT;var t=TT(e),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-o+t[2]-t[0])}},"getGapWidth"),FT=g2(),Ya="data-scroll-locked",NT=g(function(e,t,o,a){var l=e.left,s=e.top,f=e.right,c=e.gap;return o===void 0&&(o="margin"),`
|
419
|
+
.`.concat(kT,` {
|
420
|
+
overflow: hidden `).concat(a,`;
|
421
|
+
padding-right: `).concat(c,"px ").concat(a,`;
|
422
|
+
}
|
423
|
+
body[`).concat(Ya,`] {
|
424
|
+
overflow: hidden `).concat(a,`;
|
425
|
+
overscroll-behavior: contain;
|
426
|
+
`).concat([t&&"position: relative ".concat(a,";"),o==="margin"&&`
|
427
|
+
padding-left: `.concat(l,`px;
|
428
|
+
padding-top: `).concat(s,`px;
|
429
|
+
padding-right: `).concat(f,`px;
|
430
|
+
margin-left:0;
|
431
|
+
margin-top:0;
|
432
|
+
margin-right: `).concat(c,"px ").concat(a,`;
|
433
|
+
`),o==="padding"&&"padding-right: ".concat(c,"px ").concat(a,";")].filter(Boolean).join(""),`
|
434
|
+
}
|
435
|
+
|
436
|
+
.`).concat(Su,` {
|
437
|
+
right: `).concat(c,"px ").concat(a,`;
|
438
|
+
}
|
439
|
+
|
440
|
+
.`).concat(Eu,` {
|
441
|
+
margin-right: `).concat(c,"px ").concat(a,`;
|
442
|
+
}
|
443
|
+
|
444
|
+
.`).concat(Su," .").concat(Su,` {
|
445
|
+
right: 0 `).concat(a,`;
|
446
|
+
}
|
447
|
+
|
448
|
+
.`).concat(Eu," .").concat(Eu,` {
|
449
|
+
margin-right: 0 `).concat(a,`;
|
450
|
+
}
|
451
|
+
|
452
|
+
body[`).concat(Ya,`] {
|
453
|
+
`).concat(CT,": ").concat(c,`px;
|
454
|
+
}
|
455
|
+
`)},"getStyles"),Fb=g(function(){var e=parseInt(document.body.getAttribute(Ya)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),LT=g(function(){w.useEffect(function(){return document.body.setAttribute(Ya,(Fb()+1).toString()),function(){var e=Fb()-1;e<=0?document.body.removeAttribute(Ya):document.body.setAttribute(Ya,e.toString())}},[])},"useLockAttribute"),jT=g(function(e){var t=e.noRelative,o=e.noImportant,a=e.gapMode,l=a===void 0?"margin":a;LT();var s=w.useMemo(function(){return IT(l)},[l]);return w.createElement(FT,{styles:NT(s,!t,l,o?"":"!important")})},"RemoveScrollBar"),Hh=!1;if(typeof window<"u")try{cl=Object.defineProperty({},"passive",{get:g(function(){return Hh=!0,!0},"get")}),window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{Hh=!1}var cl,Fa=Hh?{passive:!1}:!1,$T=g(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),m2=g(function(e,t){if(!(e instanceof Element))return!1;var o=window.getComputedStyle(e);return o[t]!=="hidden"&&!(o.overflowY===o.overflowX&&!$T(e)&&o[t]==="visible")},"elementCanBeScrolled"),MT=g(function(e){return m2(e,"overflowY")},"elementCouldBeVScrolled"),DT=g(function(e){return m2(e,"overflowX")},"elementCouldBeHScrolled"),Nb=g(function(e,t){var o=t.ownerDocument,a=t;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var l=v2(e,a);if(l){var s=y2(e,a),f=s[1],c=s[2];if(f>c)return!0}a=a.parentNode}while(a&&a!==o.body);return!1},"locationCouldBeScrolled"),zT=g(function(e){var t=e.scrollTop,o=e.scrollHeight,a=e.clientHeight;return[t,o,a]},"getVScrollVariables"),BT=g(function(e){var t=e.scrollLeft,o=e.scrollWidth,a=e.clientWidth;return[t,o,a]},"getHScrollVariables"),v2=g(function(e,t){return e==="v"?MT(t):DT(t)},"elementCouldBeScrolled"),y2=g(function(e,t){return e==="v"?zT(t):BT(t)},"getScrollVariables"),HT=g(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),UT=g(function(e,t,o,a,l){var s=HT(e,window.getComputedStyle(t).direction),f=s*a,c=o.target,d=t.contains(c),h=!1,y=f>0,b=0,v=0;do{var x=y2(e,c),E=x[0],S=x[1],k=x[2],_=S-k-s*E;(E||_)&&v2(e,c)&&(b+=_,v+=E),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(y&&(l&&Math.abs(b)<1||!l&&f>b)||!y&&(l&&Math.abs(v)<1||!l&&-f>v))&&(h=!0),h},"handleScroll"),uu=g(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),Lb=g(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),jb=g(function(e){return e&&"current"in e?e.current:e},"extractRef"),WT=g(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),qT=g(function(e){return`
|
456
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
457
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
458
|
+
`)},"generateStyle"),VT=0,Na=[];function b2(e){var t=w.useRef([]),o=w.useRef([0,0]),a=w.useRef(),l=w.useState(VT++)[0],s=w.useState(g2)[0],f=w.useRef(e);w.useEffect(function(){f.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var S=n2([e.lockRef.current],(e.shards||[]).map(jb),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var c=w.useCallback(function(S,k){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!f.current.allowPinchZoom;var _=uu(S),A=o.current,R="deltaX"in S?S.deltaX:A[0]-_[0],O="deltaY"in S?S.deltaY:A[1]-_[1],P,I=S.target,T=Math.abs(R)>Math.abs(O)?"h":"v";if("touches"in S&&T==="h"&&I.type==="range")return!1;var N=Nb(T,I);if(!N)return!0;if(N?P=T:(P=T==="v"?"h":"v",N=Nb(T,I)),!N)return!1;if(!a.current&&"changedTouches"in S&&(R||O)&&(a.current=P),!P)return!0;var B=a.current||P;return UT(B,k,S,B==="h"?R:O,!0)},[]),d=w.useCallback(function(S){var k=S;if(!(!Na.length||Na[Na.length-1]!==s)){var _="deltaY"in k?Lb(k):uu(k),A=t.current.filter(function(P){return P.name===k.type&&(P.target===k.target||k.target===P.shadowParent)&&WT(P.delta,_)})[0];if(A&&A.should){k.cancelable&&k.preventDefault();return}if(!A){var R=(f.current.shards||[]).map(jb).filter(Boolean).filter(function(P){return P.contains(k.target)}),O=R.length>0?c(k,R[0]):!f.current.noIsolation;O&&k.cancelable&&k.preventDefault()}}},[]),h=w.useCallback(function(S,k,_,A){var R={name:S,delta:k,target:_,should:A,shadowParent:w2(_)};t.current.push(R),setTimeout(function(){t.current=t.current.filter(function(O){return O!==R})},1)},[]),y=w.useCallback(function(S){o.current=uu(S),a.current=void 0},[]),b=w.useCallback(function(S){h(S.type,Lb(S),S.target,c(S,e.lockRef.current))},[]),v=w.useCallback(function(S){h(S.type,uu(S),S.target,c(S,e.lockRef.current))},[]);w.useEffect(function(){return Na.push(s),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:v}),document.addEventListener("wheel",d,Fa),document.addEventListener("touchmove",d,Fa),document.addEventListener("touchstart",y,Fa),function(){Na=Na.filter(function(S){return S!==s}),document.removeEventListener("wheel",d,Fa),document.removeEventListener("touchmove",d,Fa),document.removeEventListener("touchstart",y,Fa)}},[]);var x=e.removeScrollBar,E=e.inert;return w.createElement(w.Fragment,null,E?w.createElement(s,{styles:qT(l)}):null,x?w.createElement(jT,{gapMode:e.gapMode}):null)}g(b2,"RemoveScrollSideCar");function w2(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}g(w2,"getOutermostShadowParent");var GT=c2(f2,b2),x2=w.forwardRef(function(e,t){return w.createElement(Rc,on({},e,{ref:t,sideCar:GT}))});x2.classNames=Rc.classNames;var YT=x2,KT=g(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),La=new WeakMap,cu=new WeakMap,fu={},Up=0,S2=g(function(e){return e&&(e.host||S2(e.parentNode))},"unwrapHost"),XT=g(function(e,t){return t.map(function(o){if(e.contains(o))return o;var a=S2(o);return a&&e.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},"correctTargets"),QT=g(function(e,t,o,a){var l=XT(t,Array.isArray(e)?e:[e]);fu[o]||(fu[o]=new WeakMap);var s=fu[o],f=[],c=new Set,d=new Set(l),h=g(function(b){!b||c.has(b)||(c.add(b),h(b.parentNode))},"keep");l.forEach(h);var y=g(function(b){!b||d.has(b)||Array.prototype.forEach.call(b.children,function(v){if(c.has(v))y(v);else try{var x=v.getAttribute(a),E=x!==null&&x!=="false",S=(La.get(v)||0)+1,k=(s.get(v)||0)+1;La.set(v,S),s.set(v,k),f.push(v),S===1&&E&&cu.set(v,!0),k===1&&v.setAttribute(o,"true"),E||v.setAttribute(a,"true")}catch(_){console.error("aria-hidden: cannot operate on ",v,_)}})},"deep");return y(t),c.clear(),Up++,function(){f.forEach(function(b){var v=La.get(b)-1,x=s.get(b)-1;La.set(b,v),s.set(b,x),v||(cu.has(b)||b.removeAttribute(a),cu.delete(b)),x||b.removeAttribute(o)}),Up--,Up||(La=new WeakMap,La=new WeakMap,cu=new WeakMap,fu={})}},"applyAttributeToOthers"),ZT=g(function(e,t,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),l=t||KT(e);return l?(a.push.apply(a,Array.from(l.querySelectorAll("[aria-live]"))),QT(a,l,o,"aria-hidden")):function(){return null}},"hideOthers"),Ac="Dialog",[E2,JT]=Pk(Ac),[eI,Yr]=E2(Ac),tm=g(e=>{let{__scopeDialog:t,children:o,open:a,defaultOpen:l,onOpenChange:s,modal:f=!0}=e,c=w.useRef(null),d=w.useRef(null),[h,y]=Ik({prop:a,defaultProp:l??!1,onChange:s,caller:Ac});return L.jsx(eI,{scope:t,triggerRef:c,contentRef:d,contentId:wu(),titleId:wu(),descriptionId:wu(),open:h,onOpenChange:y,onOpenToggle:w.useCallback(()=>y(b=>!b),[y]),modal:f,children:o})},"Dialog");tm.displayName=Ac;var k2="DialogTrigger",rm=w.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,l=Yr(k2,o),s=xo(t,l.triggerRef);return L.jsx(Fn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":Pc(l.open),...a,ref:s,onClick:Ga(e.onClick,l.onOpenToggle)})});rm.displayName=k2;var nm="DialogPortal",[tI,C2]=E2(nm,{forceMount:void 0}),om=g(e=>{let{__scopeDialog:t,forceMount:o,children:a,container:l}=e,s=Yr(nm,t);return L.jsx(tI,{scope:t,forceMount:o,children:w.Children.map(a,f=>L.jsx(Oc,{present:o||s.open,children:L.jsx(Zk,{asChild:!0,container:l,children:f})}))})},"DialogPortal");om.displayName=nm;var Gu="DialogOverlay",am=w.forwardRef((e,t)=>{let o=C2(Gu,e.__scopeDialog),{forceMount:a=o.forceMount,...l}=e,s=Yr(Gu,e.__scopeDialog);return s.modal?L.jsx(Oc,{present:a||s.open,children:L.jsx(nI,{...l,ref:t})}):null});am.displayName=Gu;var rI=_c("DialogOverlay.RemoveScroll"),nI=w.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,l=Yr(Gu,o);return L.jsx(YT,{as:rI,allowPinchZoom:!0,shards:[l.contentRef],children:L.jsx(Fn.div,{"data-state":Pc(l.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),ea="DialogContent",im=w.forwardRef((e,t)=>{let o=C2(ea,e.__scopeDialog),{forceMount:a=o.forceMount,...l}=e,s=Yr(ea,e.__scopeDialog);return L.jsx(Oc,{present:a||s.open,children:s.modal?L.jsx(oI,{...l,ref:t}):L.jsx(aI,{...l,ref:t})})});im.displayName=ea;var oI=w.forwardRef((e,t)=>{let o=Yr(ea,e.__scopeDialog),a=w.useRef(null),l=xo(t,o.contentRef,a);return w.useEffect(()=>{let s=a.current;if(s)return ZT(s)},[]),L.jsx(_2,{...e,ref:l,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ga(e.onCloseAutoFocus,s=>{var f;s.preventDefault(),(f=o.triggerRef.current)==null||f.focus()}),onPointerDownOutside:Ga(e.onPointerDownOutside,s=>{let f=s.detail.originalEvent,c=f.button===0&&f.ctrlKey===!0;(f.button===2||c)&&s.preventDefault()}),onFocusOutside:Ga(e.onFocusOutside,s=>s.preventDefault())})}),aI=w.forwardRef((e,t)=>{let o=Yr(ea,e.__scopeDialog),a=w.useRef(!1),l=w.useRef(!1);return L.jsx(_2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g(s=>{var f,c;(f=e.onCloseAutoFocus)==null||f.call(e,s),s.defaultPrevented||(a.current||((c=o.triggerRef.current)==null||c.focus()),s.preventDefault()),a.current=!1,l.current=!1},"onCloseAutoFocus"),onInteractOutside:g(s=>{var c,d;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(a.current=!0,s.detail.originalEvent.type==="pointerdown"&&(l.current=!0));let f=s.target;(d=o.triggerRef.current)!=null&&d.contains(f)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&l.current&&s.preventDefault()},"onInteractOutside")})}),_2=w.forwardRef((e,t)=>{let{__scopeDialog:o,trapFocus:a,onOpenAutoFocus:l,onCloseAutoFocus:s,...f}=e,c=Yr(ea,o),d=w.useRef(null),h=xo(t,d);return r2(),L.jsxs(L.Fragment,{children:[L.jsx(qk,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:l,onUnmountAutoFocus:s,children:L.jsx(Hk,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Pc(c.open),...f,ref:h,onDismiss:g(()=>c.onOpenChange(!1),"onDismiss")})}),L.jsxs(L.Fragment,{children:[L.jsx(lI,{titleId:c.titleId}),L.jsx(uI,{contentRef:d,descriptionId:c.descriptionId})]})]})}),lm="DialogTitle",sm=w.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,l=Yr(lm,o);return L.jsx(Fn.h2,{id:l.titleId,...a,ref:t})});sm.displayName=lm;var O2="DialogDescription",um=w.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,l=Yr(O2,o);return L.jsx(Fn.p,{id:l.descriptionId,...a,ref:t})});um.displayName=O2;var R2="DialogClose",cm=w.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,l=Yr(R2,o);return L.jsx(Fn.button,{type:"button",...a,ref:t,onClick:Ga(e.onClick,()=>l.onOpenChange(!1))})});cm.displayName=R2;function Pc(e){return e?"open":"closed"}g(Pc,"getState");var A2="DialogTitleWarning",[iI,P2]=Ak(A2,{contentName:ea,titleName:lm,docsSlug:"dialog"}),lI=g(({titleId:e})=>{let t=P2(A2),o=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
459
|
+
|
460
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
461
|
+
|
462
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return w.useEffect(()=>{e&&(document.getElementById(e)||console.error(o))},[o,e]),null},"TitleWarning"),sI="DialogDescriptionWarning",uI=g(({contentRef:e,descriptionId:t})=>{let o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${P2(sI).contentName}}.`;return w.useEffect(()=>{var l;let a=(l=e.current)==null?void 0:l.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},"DescriptionWarning"),T2=tm,cI=rm,I2=om,F2=am,N2=im,L2=sm,j2=um,$2=cm,M2={};Ml(M2,{Actions:()=>yI,CloseButton:()=>H2,Col:()=>W2,Container:()=>B2,Content:()=>hI,Description:()=>vI,Error:()=>bI,ErrorWrapper:()=>q2,Header:()=>gI,Overlay:()=>z2,Row:()=>U2,Title:()=>mI});var Wo=w.forwardRef(({asChild:e=!1,animation:t="none",size:o="small",variant:a="outline",padding:l="medium",disabled:s=!1,active:f=!1,onClick:c,...d},h)=>{let y="button";e&&(y=hT);let[b,v]=w.useState(!1),x=g(E=>{c&&c(E),t!=="none"&&v(!0)},"handleClick");return w.useEffect(()=>{let E=setTimeout(()=>{b&&v(!1)},1e3);return()=>clearTimeout(E)},[b]),K.createElement(fI,{as:y,ref:h,variant:a,size:o,padding:l,disabled:s,active:f,animating:b,animation:t,onClick:x,...d})});Wo.displayName="Button";var fI=D("button",{shouldForwardProp:g(e=>ig(e),"shouldForwardProp")})(({theme:e,variant:t,size:o,disabled:a,active:l,animating:s,animation:f="none",padding:c})=>({border:0,cursor:a?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:c==="none"?0:c==="small"&&o==="small"?"0 7px":c==="small"&&o==="medium"?"0 9px":o==="small"?"0 10px":o==="medium"?"0 12px":0,height:o==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:a?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&l?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:l?Pr(.9,e.barTextColor):"transparent",color:l?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Pr(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Pr(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Jo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&l?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let d=e.color.secondary;return t==="solid"&&(d=e.color.secondary),t==="outline"&&(d=e.button.background),t==="ghost"?Pr(.86,e.color.secondary):e.base==="light"?Ba(.02,d):Rb(.03,d)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let d=e.color.secondary;return t==="solid"&&(d=e.color.secondary),t==="outline"&&(d=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Ba(.02,d):Rb(.03,d)})()},"&:focus":{boxShadow:`${Jo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:s&&f!=="none"?`${e.animation[f]} 1000ms ease-out`:""}})),fm=w.forwardRef(({padding:e="small",variant:t="ghost",...o},a)=>K.createElement(Wo,{padding:e,variant:t,ref:a,...o}));fm.displayName="IconButton";var D2=Tr({from:{opacity:0},to:{opacity:1}}),dI=Tr({from:{maxHeight:0},to:{}}),pI=Tr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),z2=D.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${D2} 200ms`}),B2=D.div(({theme:e,width:t,height:o})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:o??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${pI} 200ms`,"&:focus-visible":{outline:"none"}})),H2=g(e=>K.createElement($2,{asChild:!0},K.createElement(fm,{...e},K.createElement(lT,null))),"CloseButton"),hI=D.div({display:"flex",flexDirection:"column",margin:16,gap:16}),U2=D.div({display:"flex",justifyContent:"space-between",gap:16}),W2=D.div({display:"flex",flexDirection:"column",gap:4}),gI=g(e=>K.createElement(U2,null,K.createElement(W2,{...e}),K.createElement(H2,null)),"Header"),mI=D(L2)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),vI=D(j2)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),yI=D.div({display:"flex",flexDirection:"row-reverse",gap:8}),q2=D.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${dI} 300ms, ${D2} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),bI=g(({children:e,...t})=>K.createElement(q2,{...t},K.createElement("div",null,e)),"Error");function V2({children:e,width:t,height:o,onEscapeKeyDown:a,onInteractOutside:l=g(d=>d.preventDefault(),"onInteractOutside"),className:s,container:f,...c}){return K.createElement(T2,{...c},K.createElement(I2,{container:f},K.createElement(F2,{asChild:!0},K.createElement(z2,null)),K.createElement(N2,{asChild:!0,onInteractOutside:l,onEscapeKeyDown:a},K.createElement(B2,{className:s,width:t,height:o},e))))}g(V2,"BaseModal");Object.assign(V2,M2,{Dialog:Rk});D.div(({theme:e,col:t,row:o=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${m0}`]:{marginLeft:0}}:{"& > *":{marginTop:o*e.layoutMargin},[`& > *:first-child${m0}`]:{marginTop:0}},({theme:e,outer:t,col:o,row:a})=>{switch(!0){case!!(t&&o):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&a):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}});var wI=D.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),xI=D.div(),SI=D.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),EI=g(({children:e,...t})=>{let[o,a]=w.Children.toArray(e);return K.createElement(SI,{...t},K.createElement(wI,null,o),a&&K.createElement(xI,null,a))},"Placeholder");Pg();function G2(e,t){var o=w.useRef(null),a=w.useRef(null);a.current=t;var l=w.useRef(null);w.useEffect(function(){s()});var s=w.useCallback(function(){var f=l.current,c=a.current,d=f||(c?c instanceof Element?c:c.current:null);o.current&&o.current.element===d&&o.current.subscriber===e||(o.current&&o.current.cleanup&&o.current.cleanup(),o.current={element:d,subscriber:e,cleanup:d?e(d):void 0})},[e]);return w.useEffect(function(){return function(){o.current&&o.current.cleanup&&(o.current.cleanup(),o.current=null)}},[]),w.useCallback(function(f){l.current=f,s()},[s])}g(G2,"useResolvedElement");function Uh(e,t,o){return e[t]?e[t][0]?e[t][0][o]:e[t][o]:t==="contentBoxSize"?e.contentRect[o==="inlineSize"?"width":"height"]:void 0}g(Uh,"extractSize");function dm(e){e===void 0&&(e={});var t=e.onResize,o=w.useRef(void 0);o.current=t;var a=e.round||Math.round,l=w.useRef(),s=w.useState({width:void 0,height:void 0}),f=s[0],c=s[1],d=w.useRef(!1);w.useEffect(function(){return d.current=!1,function(){d.current=!0}},[]);var h=w.useRef({width:void 0,height:void 0}),y=G2(w.useCallback(function(b){return(!l.current||l.current.box!==e.box||l.current.round!==a)&&(l.current={box:e.box,round:a,instance:new ResizeObserver(function(v){var x=v[0],E=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",S=Uh(x,E,"inlineSize"),k=Uh(x,E,"blockSize"),_=S?a(S):void 0,A=k?a(k):void 0;if(h.current.width!==_||h.current.height!==A){var R={width:_,height:A};h.current.width=_,h.current.height=A,o.current?o.current(R):d.current||c(R)}})}),l.current.instance.observe(b,{box:e.box}),function(){l.current&&l.current.instance.unobserve(b)}},[e.box,a]),e.ref);return w.useMemo(function(){return{ref:y,width:f.width,height:f.height}},[y,f.width,f.height])}g(dm,"useResizeObserver");var kI=D.div(({centered:e=!1,scale:t=1,elementHeight:o})=>({height:o||"auto",transformOrigin:e?"center top":"left top",transform:`scale(${1/t})`}));function CI({centered:e,scale:t,children:o}){let a=w.useRef(null),[l,s]=w.useState(0),f=w.useCallback(({height:c})=>{c&&s(c/t)},[t]);return w.useEffect(()=>{a.current&&s(a.current.getBoundingClientRect().height)},[t]),dm({ref:a,onResize:f}),K.createElement(kI,{centered:e,scale:t,elementHeight:l},K.createElement("div",{ref:a,className:"innerZoomElementWrapper"},o))}g(CI,"ZoomElement");var _I=class extends w.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:o,active:a}=this.props;return o!==t.scale&&this.setIframeInnerZoom(t.scale),a!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return K.createElement(K.Fragment,null,t)}};g(_I,"ZoomIFrame");var{document:IL}=Ll;D.strong(({theme:e})=>({color:e.color.orange}));D.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"}));D.em(({theme:e})=>({color:e.textMutedColor}));D.input({appearance:"none",display:"grid",placeContent:"center",width:14,height:14,margin:0,border:`1px solid ${Ce.border}`,borderRadius:2,backgroundColor:"white",transition:"background-color 0.1s","&:enabled":{cursor:"pointer"},"&:disabled":{backgroundColor:Ce.medium},"&:disabled:checked, &:disabled:indeterminate":{backgroundColor:Ce.mediumdark},"&:checked, &:indeterminate":{backgroundColor:Ce.secondary},"&:checked::before":{content:'""',width:14,height:14,background:`no-repeat center url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='m3 7 2.5 2.5L11 4'/%3E%3C/svg%3E")`},"&:indeterminate::before":{content:'""',width:8,height:2,background:"white"},"&:enabled:focus":{outline:`1px solid ${Ce.secondary}`,outlineOffset:1}});var OI=D.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),RI=D.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),AI=g(({label:e,children:t,...o})=>K.createElement(OI,{...o},e?K.createElement(RI,null,K.createElement("span",null,e)):null,t),"Field");dc();bg();var PI=w.useLayoutEffect,TI=g(function(e){var t=K.useRef(e);return PI(function(){t.current=e}),t},"useLatest"),$b=g(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),II=g(function(e,t){var o=K.useRef();return K.useCallback(function(a){e.current=a,o.current&&$b(o.current,null),o.current=t,t&&$b(t,a)},[t])},"useComposedRef"),Mb={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},FI=g(function(e){Object.keys(Mb).forEach(function(t){e.style.setProperty(t,Mb[t],"important")})},"forceHiddenStyles"),Db=FI,Wt=null,zb=g(function(e,t){var o=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?o+t.borderSize:o-t.paddingSize},"getHeight");function Y2(e,t,o,a){o===void 0&&(o=1),a===void 0&&(a=1/0),Wt||(Wt=document.createElement("textarea"),Wt.setAttribute("tabindex","-1"),Wt.setAttribute("aria-hidden","true"),Db(Wt)),Wt.parentNode===null&&document.body.appendChild(Wt);var l=e.paddingSize,s=e.borderSize,f=e.sizingStyle,c=f.boxSizing;Object.keys(f).forEach(function(v){var x=v;Wt.style[x]=f[x]}),Db(Wt),Wt.value=t;var d=zb(Wt,e);Wt.value=t,d=zb(Wt,e),Wt.value="x";var h=Wt.scrollHeight-l,y=h*o;c==="border-box"&&(y=y+l+s),d=Math.max(y,d);var b=h*a;return c==="border-box"&&(b=b+l+s),d=Math.min(b,d),[d,h]}g(Y2,"calculateNodeHeight");var Bb=g(function(){},"noop"),NI=g(function(e,t){return e.reduce(function(o,a){return o[a]=t[a],o},{})},"pick"),LI=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],jI=!!document.documentElement.currentStyle,$I=g(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var o=NI(LI,t),a=o.boxSizing;if(a==="")return null;jI&&a==="border-box"&&(o.width=parseFloat(o.width)+parseFloat(o.borderRightWidth)+parseFloat(o.borderLeftWidth)+parseFloat(o.paddingRight)+parseFloat(o.paddingLeft)+"px");var l=parseFloat(o.paddingBottom)+parseFloat(o.paddingTop),s=parseFloat(o.borderBottomWidth)+parseFloat(o.borderTopWidth);return{sizingStyle:o,paddingSize:l,borderSize:s}},"getSizingData"),MI=$I;function Tc(e,t,o){var a=TI(o);w.useLayoutEffect(function(){var l=g(function(s){return a.current(s)},"handler");if(e)return e.addEventListener(t,l),function(){return e.removeEventListener(t,l)}},[])}g(Tc,"useListener");var DI=g(function(e,t){Tc(document.body,"reset",function(o){e.current.form===o.target&&t(o)})},"useFormResetListener"),zI=g(function(e){Tc(window,"resize",e)},"useWindowResizeListener"),BI=g(function(e){Tc(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),HI=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],UI=g(function(e,t){var o=e.cacheMeasurements,a=e.maxRows,l=e.minRows,s=e.onChange,f=s===void 0?Bb:s,c=e.onHeightChange,d=c===void 0?Bb:c,h=hc(e,HI),y=h.value!==void 0,b=w.useRef(null),v=II(b,t),x=w.useRef(0),E=w.useRef(),S=g(function(){var _=b.current,A=o&&E.current?E.current:MI(_);if(A){E.current=A;var R=Y2(A,_.value||_.placeholder||"x",l,a),O=R[0],P=R[1];x.current!==O&&(x.current=O,_.style.setProperty("height",O+"px","important"),d(O,{rowHeight:P}))}},"resizeTextarea"),k=g(function(_){y||S(),f(_)},"handleChange");return w.useLayoutEffect(S),DI(b,function(){if(!y){var _=b.current.value;requestAnimationFrame(function(){var A=b.current;A&&_!==A.value&&S()})}}),zI(S),BI(S),w.createElement("textarea",ot({},h,{onChange:k,ref:v}))},"TextareaAutosize"),WI=w.forwardRef(UI),qI={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},pm=g(({theme:e})=>({...qI,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),hm=g(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),K2=g(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),gm=g(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),VI=Object.assign(D(w.forwardRef(g(function({size:e,valid:t,align:o,...a},l){return K.createElement("input",{...a,ref:l})},"Input")))(pm,hm,K2,gm,{minHeight:32}),{displayName:"Input"}),GI=Object.assign(D(w.forwardRef(g(function({size:e,valid:t,align:o,...a},l){return K.createElement("select",{...a,ref:l})},"Select")))(pm,hm,gm,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),YI=Object.assign(D(w.forwardRef(g(function({size:e,valid:t,align:o,...a},l){return K.createElement(WI,{...a,ref:l})},"Textarea")))(pm,hm,K2,gm,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"});Object.assign(D.form({boxSizing:"border-box",width:"100%"}),{Field:AI,Input:VI,Select:GI,Textarea:YI,Button:Wo});w.lazy(()=>Promise.resolve().then(()=>(Yg(),Gg)).then(e=>({default:e.WithTooltip})));w.lazy(()=>Promise.resolve().then(()=>(Yg(),Gg)).then(e=>({default:e.WithTooltipPure})));D.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));D.span();D.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}));D.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}));D.div({padding:15,width:280,boxSizing:"border-box"});D.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6}));var KI=It(pc(),1),XI=D(({active:e,loading:t,disabled:o,...a})=>K.createElement("span",{...a}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:t.textMutedColor}:{}),QI=D.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),ZI=D.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),JI=D.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),eF=D.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),tF=D.div(({theme:e})=>({width:"100%",border:"none",borderRadius:e.appBorderRadius,background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:o})=>(t||o)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({theme:e,as:t})=>t==="label"&&{"&:has(input:not(:disabled))":{cursor:"pointer","&:hover":{background:e.background.hoverable}}},({disabled:e})=>e&&{cursor:"not-allowed"}),rF=(0,KI.default)(100)(({onClick:e,input:t,href:o,LinkWrapper:a})=>({...e&&{as:"button",onClick:e},...t&&{as:"label"},...o&&{as:"a",href:o,...a&&{as:a,to:o}}})),nF=g(e=>{let{loading:t=!1,title:o=K.createElement("span",null,"Loading state"),center:a=null,right:l=null,active:s=!1,disabled:f=!1,isIndented:c=!1,href:d=void 0,onClick:h=void 0,icon:y,input:b,LinkWrapper:v=void 0,...x}=e,E={active:s,disabled:f},S=rF(e),k=y||b;return K.createElement(tF,{...x,...E,...S},K.createElement(K.Fragment,null,k&&K.createElement(eF,{...E},k),o||a?K.createElement(ZI,{isIndented:c&&!k},o&&K.createElement(XI,{...E,loading:t},o),a&&K.createElement(JI,{...E},a)):null,l&&K.createElement(QI,{...E},l)))},"ListItem"),oF=nF,aF=D.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32+8},({theme:e})=>({borderRadius:e.appBorderRadius+2}),({theme:e})=>e.base==="dark"?{background:e.background.content}:{}),iF=D.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),lF=g(({id:e,onClick:t,...o})=>{let{active:a,disabled:l,title:s,href:f}=o,c=w.useCallback(d=>t==null?void 0:t(d,{id:e,active:a,disabled:l,title:s,href:f}),[t,e,a,l,s,f]);return K.createElement(oF,{id:`list-item-${e}`,...o,...t&&{onClick:c}})},"Item"),sF=g(({links:e,LinkWrapper:t,...o})=>{let a=Array.isArray(e[0])?e:[e],l=a.some(s=>s.some(f=>"icon"in f&&f.icon||"input"in f&&f.input));return K.createElement(aF,{...o},a.filter(s=>s.length).map((s,f)=>K.createElement(iF,{key:s.map(c=>c.id).join(`~${f}~`)},s.map(c=>"content"in c?K.createElement(w.Fragment,{key:c.id},c.content):K.createElement(lF,{key:c.id,isIndented:l,LinkWrapper:t,...c})))))},"TooltipLinkList");Pg();var Wh=D.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:10},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{gap:6}:{});Wh.displayName="Side";var uF=g(({children:e,className:t,scrollable:o})=>o?K.createElement(ii,{vertical:!1,className:t},e):K.createElement("div",{className:t},e),"UnstyledBar"),X2=D(uF)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});X2.displayName="Bar";var cF=D.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Q2=g(({children:e,backgroundColor:t,className:o,...a})=>{let[l,s]=w.Children.toArray(e);return K.createElement(X2,{className:`sb-bar ${o}`,...a},K.createElement(cF,{bgColor:t},K.createElement(Wh,{scrollable:a.scrollable,left:!0},l),s?K.createElement(Wh,{right:!0},s):null))},"FlexBar");Q2.displayName="FlexBar";var fF=g(e=>typeof e.props.href=="string","isLink"),dF=g(e=>typeof e.props.href!="string","isButton");function Z2({children:e,...t},o){let a={props:t,ref:o};if(fF(a))return K.createElement("a",{ref:a.ref,...a.props},e);if(dF(a))return K.createElement("button",{ref:a.ref,type:"button",...a.props},e);throw new Error("invalid props")}g(Z2,"ForwardRefFunction");var J2=w.forwardRef(Z2);J2.displayName="ButtonOrLink";var fi=D(J2,{shouldForwardProp:ig})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:o})=>e?{color:t||o.barSelectedColor,borderBottomColor:o.barSelectedColor}:{color:t||o.barTextColor,borderBottomColor:"transparent","&:hover":{color:o.barHoverColor}});fi.displayName="TabButton";var pF=D.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),hF=D.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),gF=D.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),mF=D.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),eC=g(({title:e,description:t,footer:o})=>K.createElement(pF,null,K.createElement(hF,null,K.createElement(gF,null,e),t&&K.createElement(mF,null,t)),o),"EmptyTabContent"),vF=D.div(({active:e})=>e?{display:"block"}:{display:"none"}),yF=g(e=>w.Children.toArray(e).map(({props:{title:t,id:o,color:a,children:l}})=>{let s=Array.isArray(l)?l[0]:l;return{title:t,id:o,...a?{color:a}:{},render:typeof s=="function"?s:({active:f})=>K.createElement(vF,{active:f,role:"tabpanel"},s)}}),"childrenToList");Yg();var bF=D.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),wF=D(fi)(({active:e,theme:t,preActive:o})=>`
|
463
|
+
color: ${o||e?t.barSelectedColor:t.barTextColor};
|
464
|
+
.addon-collapsible-icon {
|
465
|
+
color: ${o||e?t.barSelectedColor:t.barTextColor};
|
466
|
+
}
|
467
|
+
&:hover {
|
468
|
+
color: ${t.barHoverColor};
|
469
|
+
.addon-collapsible-icon {
|
470
|
+
color: ${t.barHoverColor};
|
471
|
+
}
|
472
|
+
}
|
473
|
+
`);function tC(e){let t=w.useRef(),o=w.useRef(),a=w.useRef(new Map),{width:l=1}=dm({ref:t}),[s,f]=w.useState(e),[c,d]=w.useState([]),h=w.useRef(e),y=w.useCallback(({menuName:v,actions:x})=>{let E=c.some(({active:_})=>_),[S,k]=w.useState(!1);return K.createElement(K.Fragment,null,K.createElement(Wu,{interactive:!0,visible:S,onVisibleChange:k,placement:"bottom",delayHide:100,tooltip:K.createElement(sF,{links:c.map(({title:_,id:A,color:R,active:O})=>({id:A,title:_,color:R,active:O,onClick:g(P=>{P.preventDefault(),x.onSelect(A)},"onClick")}))})},K.createElement(wF,{id:"addons-menu-button",ref:o,active:E,preActive:S,style:{visibility:c.length?"visible":"hidden"},"aria-hidden":!c.length,className:"tabbutton",type:"button",role:"tab"},v,K.createElement(bF,{className:"addon-collapsible-icon",isActive:E||S}))),c.map(({title:_,id:A,color:R},O)=>{let P=`index-${O}`;return K.createElement(fi,{id:`tabbutton-${Hx(A)??P}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:I=>{a.current.set(A,I)},className:"tabbutton",type:"button",key:A,textColor:R,role:"tab"},_)}))},[c]),b=w.useCallback(()=>{if(!t.current||!o.current)return;let{x:v,width:x}=t.current.getBoundingClientRect(),{width:E}=o.current.getBoundingClientRect(),S=c.length?v+x-E:v+x,k=[],_=0,A=e.filter(R=>{let{id:O}=R,P=a.current.get(O),{width:I=0}=(P==null?void 0:P.getBoundingClientRect())||{},T=v+_+I>S;return(!T||!P)&&k.push(R),_+=I,T});(k.length!==s.length||h.current!==e)&&(f(k),d(A),h.current=e)},[c.length,e,s]);return w.useLayoutEffect(b,[b,l]),{tabRefs:a,addonsRef:o,tabBarRef:t,visibleList:s,invisibleList:c,AddonTab:y}}g(tC,"useList");var xF="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",SF=D.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),rC=D.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});rC.displayName="TabBar";var EF=D.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${xF}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),nC=class extends w.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t,o){console.error("Error rendering addon panel"),console.error(t),console.error(o.componentStack)}render(){return this.state.hasError&&this.props.active?K.createElement(eC,{title:"This addon has errors",description:"Check your browser logs and addon code to pinpoint what went wrong. This issue was not caused by Storybook."}):this.props.children}};g(nC,"TabErrorBoundary");var kF=nC,mm=w.memo(({children:e,selected:t=null,actions:o,absolute:a=!1,bordered:l=!1,tools:s=null,backgroundColor:f,id:c=null,menuName:d="Tabs",emptyState:h,showToolsWhenEmpty:y})=>{let b=w.useMemo(()=>yF(e).map((_,A)=>({..._,active:t?_.id===t:A===0})),[e,t]),{visibleList:v,tabBarRef:x,tabRefs:E,AddonTab:S}=tC(b),k=h??K.createElement(eC,{title:"Nothing found"});return!y&&b.length===0?k:K.createElement(SF,{absolute:a,bordered:l,id:c},K.createElement(Q2,{scrollable:!1,border:!0,backgroundColor:f},K.createElement(rC,{style:{whiteSpace:"normal"},ref:x,role:"tablist"},v.map(({title:_,id:A,active:R,color:O},P)=>{let I=`index-${P}`;return K.createElement(fi,{id:`tabbutton-${Hx(A)??I}`,ref:T=>{E.current.set(A,T)},className:`tabbutton ${R?"tabbutton-active":""}`,type:"button",key:A,active:R,textColor:O,onClick:T=>{T.preventDefault(),o.onSelect(A)},role:"tab"},typeof _=="function"?K.createElement("title",null):_)}),K.createElement(S,{menuName:d,actions:o})),s),K.createElement(EF,{id:"panel-tab-content",bordered:l,absolute:a},b.length?b.map(({id:_,active:A,render:R})=>K.createElement(kF,{key:_,active:A},K.createElement(R,{active:A},null))):k))});mm.displayName="Tabs";var Hb=class extends w.Component{constructor(t){super(t),this.handlers={onSelect:g(o=>this.setState({selected:o}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:o=!1,children:a,backgroundColor:l,menuName:s}=this.props,{selected:f}=this.state;return K.createElement(mm,{bordered:t,absolute:o,selected:f,backgroundColor:l,menuName:s,actions:this.handlers},a)}};g(Hb,"TabsState"),Hb.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var CF=D.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});CF.displayName="Separator";var _F=Tr`
|
474
|
+
from {
|
475
|
+
transform: rotate(0deg);
|
476
|
+
}
|
477
|
+
to {
|
478
|
+
transform: rotate(360deg);
|
479
|
+
}
|
480
|
+
`,OF=D.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${_F} 0.7s linear infinite`,mixBlendMode:"difference"})),Ub=D.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),RF=D.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Pr(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),AF=D.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),Wb=D.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.textMutedColor})),PF=D(iT)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),TF=Tr`
|
481
|
+
from { content: "..." }
|
482
|
+
33% { content: "." }
|
483
|
+
66% { content: ".." }
|
484
|
+
to { content: "..." }
|
485
|
+
`,IF=D.span({"&::after":{content:"'...'",animation:`${TF} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),Ic=g(({progress:e,error:t,size:o,...a})=>{if(t)return K.createElement(Ub,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...a},K.createElement(PF,null),K.createElement(Wb,null,t.message));if(e){let{value:l,modules:s}=e,{message:f}=e;return s&&(f+=` ${s.complete} / ${s.total} modules`),K.createElement(Ub,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l*100,"aria-valuetext":f,role:"progressbar",...a},K.createElement(RF,null,K.createElement(AF,{style:{width:`${l*100}%`}})),K.createElement(Wb,null,f,l<1&&K.createElement(IF,{key:f})))}return K.createElement(OF,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:o,...a})},"Loader"),FF=Tr({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});D.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e}));D.svg(({size:e,width:t})=>({position:"absolute",width:`${e}px!important`,height:`${e}px!important`,transform:"rotate(-90deg)",circle:{r:(e-Math.ceil(t))/2,cx:e/2,cy:e/2,opacity:.15,fill:"transparent",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeDasharray:Math.PI*(e-Math.ceil(t))}}),({progress:e})=>e&&{circle:{opacity:.75}},({spinner:e})=>e&&{animation:`${FF} 1s linear infinite`,circle:{opacity:.25}});function NF(e){let t={},o=e.split("&");for(let a=0;a<o.length;a++){let l=o[a].split("=");t[decodeURIComponent(l[0])]=decodeURIComponent(l[1]||"")}return t}g(NF,"parseQuery");D.pre`
|
486
|
+
line-height: 18px;
|
487
|
+
padding: 11px 1rem;
|
488
|
+
white-space: pre-wrap;
|
489
|
+
background: rgba(0, 0, 0, 0.05);
|
490
|
+
color: ${Ce.darkest};
|
491
|
+
border-radius: 3px;
|
492
|
+
margin: 1rem 0;
|
493
|
+
width: 100%;
|
494
|
+
display: block;
|
495
|
+
overflow: hidden;
|
496
|
+
font-family: ${an.fonts.mono};
|
497
|
+
font-size: ${an.size.s2-1}px;
|
498
|
+
`;Object.keys(aT).forEach(e=>{w.forwardRef((t,o)=>w.createElement(e,{...t,ref:o}))});var LF=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),jF=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),$F=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vm=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),oC=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),aC=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),MF=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),DF=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),zF=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),iC=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),BF=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),qh=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),lC=w.forwardRef(({color:e="currentColor",size:t=14,...o},a)=>w.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,...o},w.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e})));const HF=D.div({display:"flex",alignItems:"center",fontSize:"14px",lineHeight:"22px",padding:"2px 6px"}),du=D.div(({color:e})=>({color:e??"inherit",display:"inline-flex",flexDirection:"row",alignItems:"center",margin:"0 4px","&:first-of-type":{marginLeft:0},"& svg":{marginRight:5,width:10,height:10}})),Wp=D.div({"&::before":{content:"'/'",display:"block",marginRight:4}}),pu=D(fm)({marginTop:0,padding:0,height:"24px"}),UF=$e(({successCount:e,failedCount:t,pendingCount:o,approvedCount:a,onClickByStatus:l,theme:s})=>L.jsxs(HF,{children:[L.jsx(pu,{onClick:()=>{l("pending")},children:L.jsxs(du,{color:s==null?void 0:s.color.mediumdark,children:[L.jsx(lC,{}),o]})}),L.jsx(Wp,{}),L.jsx(pu,{onClick:()=>{l("success")},children:L.jsxs(du,{color:s==null?void 0:s.color.green,children:[L.jsx(vm,{})," ",e]})}),L.jsx(Wp,{}),L.jsx(pu,{onClick:()=>{l("failed")},children:L.jsxs(du,{color:s==null?void 0:s.color.negative,children:[L.jsx(aC,{})," ",t]})}),L.jsx(Wp,{}),L.jsx(pu,{onClick:()=>{l("approved")},children:L.jsxs(du,{color:s==null?void 0:s.color.defaultText,children:[L.jsx(iC,{})," ",a]})})]})),WF=$e(D.input(({theme:e})=>({appearance:"none",border:"none",boxSizing:"border-box",display:"block",outline:"none",width:"100%",background:"transparent",padding:0,fontSize:"inherit","&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"::placeholder":{color:e.color.mediumdark},"&:placeholder-shown ~ button":{opacity:0}}))),qF=$e(D.button(({theme:e})=>({border:0,margin:0,padding:4,textDecoration:"none",background:e.appBorderColor,borderRadius:"1em",cursor:"pointer",opacity:1,transition:"all 150ms ease-out",position:"absolute",top:"50%",transform:"translateY(-50%)",right:2,"> svg":{display:"block",height:8,width:8,color:e.input.color,transition:"all 150ms ease-out"}}))),VF=$e(D.form(({theme:e,focussed:t})=>({transition:"all 150ms ease-out",borderBottom:"1px solid transparent",borderBottomColor:e.appBorderColor,outline:0,position:"relative",color:e.input.color,input:{color:e.input.color,fontSize:e.typography.size.s2-1,lineHeight:"20px",paddingTop:2,paddingBottom:2,paddingLeft:20,paddingRight:20},"> svg":{transition:"all 150ms ease-out",position:"absolute",top:"50%",height:12,width:12,transform:"translateY(-50%)",zIndex:1,background:"transparent",path:{transition:"all 150ms ease-out",fill:"currentColor",opacity:t?1:.3}}}))),GF=({onChange:e,value:t})=>{const{setSidebarFocusedItem:o}=gi(),[a,l]=w.useState(!1),s=w.useRef(null);return L.jsxs(VF,{autoComplete:"off",focussed:a,onReset:()=>{e("")},onSubmit:f=>{f.preventDefault()},children:[L.jsx(WF,{type:"text",ref:s,onFocus:()=>{l(!0),o(null)},onBlur:()=>{l(!1)},onChange:f=>{e(f.target.value)},placeholder:"search by status or substring",value:t}),L.jsx(LF,{}),L.jsx(qF,{tabIndex:-1,type:"reset",value:"reset",title:"Clear search",children:L.jsx(oC,{})})]})},YF=$e(D.div(({theme:e})=>({padding:"24px 36px 8px",background:e.background.content,height:"130px",zIndex:5,position:"sticky",top:"0"}))),KF=D.div({display:"flex",justifyContent:"space-between"}),XF=D.h2({fontWeight:"normal",margin:0,padding:"2px 6px"}),qb=$e(D(Wo)(({theme:e})=>({display:"flex",justifyContent:"center",transform:"none",width:"60px",padding:"8px 12px","& svg":{width:"24px",height:"24px",marginRight:0},"&:active svg path":{fill:e.color.inverseText}}))),QF=$e(D.div(({theme:e})=>({fontSize:"0.8em",marginTop:"4px",padding:"2px 6px",color:e.color.positive,backgroundColor:`${e.color.positive}20`}))),Vb=D.div(({left:e,right:t,top:o,bottom:a})=>({marginLeft:e??0,marginRight:t??0,marginTop:o??0,marginBottom:a??0,padding:"2px 6px"})),ZF=e=>{let t=null;const o=[];return e.split(" ").filter(Boolean).map(l=>l.toLowerCase()).forEach(l=>{const[,s]=/^status:(failed|success|pending)$/i.exec(l)??[];if(s)return t=s;o.push(l)}),{status:t,subStrings:o}};function JF({testsStatus:e,onStop:t,onStart:o,filter:a,onFilterChange:l,canStart:s}){const{isReport:f,isRunning:c,isUpdateMode:d}=w.useContext($l),[h,y]=w.useState(""),b=x=>{x===a.status?(y(a.subStrings.join(" ")),l({status:null,subStrings:a.subStrings})):(y(a.subStrings.join(" ")+" status:"+x),l({status:x,subStrings:a.subStrings}))},v=x=>{y(x),l(ZF(x))};return L.jsxs(YF,{children:[L.jsxs(KF,{children:[L.jsxs("div",{children:[L.jsx(XF,{children:"colin.creevey"}),d&&L.jsx(QF,{children:"Review and approve screenshots from previous test runs"}),L.jsx(UF,{...e,onClickByStatus:b})]}),f||d?null:L.jsx(Vb,{top:"10px",children:c?L.jsx(qb,{variant:"outline",onClick:t,children:L.jsx($F,{})}):L.jsx(qb,{variant:"outline",onClick:o,disabled:!s,children:L.jsx(jF,{})})})]}),L.jsx(Vb,{top:"12px",bottom:"12px",children:L.jsx(GF,{onChange:v,value:h})})]})}const eN=$e(D.label(({theme:e,disabled:t})=>({display:"inline-flex",alignItems:"baseline",position:"relative",whiteSpace:"nowrap",cursor:"pointer",fontSize:e.typography.size.s1,padding:"0px",pointerEvents:t?"none":"auto",input:{display:"inline-block",opacity:"0",width:0,height:0,position:"absolute",zIndex:-1,"&:focus + span":{outline:"none",boxShadow:`${Ha(.5,e.color.defaultText)} 0 0 0 1px inset`}}}))),tN=$e(D.span(({theme:e})=>({display:"inline-block",width:"16px",height:"16px",border:e.appBorderColor,borderRadius:e.input.borderRadius,margin:"2px",boxShadow:`${Ha(.8,e.color.defaultText)} 0 0 0 1px inset`,color:Ha(.3,e.color.defaultText),background:e.background.content,"&:hover, &:focus":{outline:"none",boxShadow:`${Ha(.5,e.color.defaultText)} 0 0 0 1px inset`}}))),rN=D(zF)({margin:"4px",verticalAlign:"baseline"}),nN=D(vm)({margin:"2px",verticalAlign:"baseline"}),sC=D.span({paddingLeft:"8px",verticalAlign:"middle",alignSelf:"center",lineHeight:"18px"});class uC extends w.Component{constructor(){super(...arguments);nl(this,"state",{indeterminate:!1});nl(this,"handleIndeterminateChange",o=>{this.setState({indeterminate:o})});nl(this,"setIndeterminate",()=>{this.handleIndeterminateChange(!0)});nl(this,"resetIndeterminate",()=>{this.handleIndeterminateChange(!1)})}render(){const{checked:o,disabled:a,onValueChange:l}=this.props,{indeterminate:s}=this.state;return L.jsxs(eN,{disabled:a,children:[L.jsx("input",{type:"checkbox",onChange:f=>{l(f.target.checked)},checked:o??!1}),L.jsx(tN,{children:s?L.jsx(rN,{width:"8",height:"8"}):o?L.jsx(nN,{width:"12",height:"12"}):" "})]})}}const oN=D.span({width:"16px",height:"13px",padding:1,display:"inline-block"}),bi={position:"relative",top:"1px",verticalAlign:"baseline"},aN=D(aC)(bi),iN=D(vm)(bi),lN=D(iC)(bi),sN=D(MF)(bi),uN=D(lC)(bi),cN=D(DF)(bi),fN=D(Ic)({top:"12px",left:"unset",marginLeft:"0px"}),cC=$e(({inverted:e,status:t,skip:o,theme:a})=>{let l=null;switch(t){case"failed":{l=L.jsx(aN,{color:e?a.color.lightest:a.color.negative});break}case"success":{l=L.jsx(iN,{color:e?a.color.lightest:a.color.green});break}case"approved":{l=L.jsx(lN,{color:e?a.color.lightest:a.color.mediumdark});break}case"running":{l=L.jsx(fN,{size:10});break}case"pending":{l=L.jsx(uN,{color:e?a.color.lightest:a.color.mediumdark});break}default:{o?l=L.jsx(sN,{color:e?a.color.lightest:void 0}):l=L.jsx(cN,{color:e?a.color.lightest:void 0});break}}return L.jsx(oN,{children:l})}),fC=$e(D.div(({theme:e,disabled:t,active:o,focused:a})=>({position:"relative",width:"100%",height:"28px",lineHeight:"20px",display:"flex",background:o?e.color.secondary:a?e.background.hoverable:"none",color:o?e.color.inverseText:"inherit",outline:a?`1px solid ${e.color.ancillary}`:"none",...t?{color:e.color.mediumdark,pointerEvents:"none"}:{},"&:hover, &.hover":o?{}:{background:e.background.hoverable}}))),dC=$e(D.button(({theme:e,active:t})=>({flexGrow:1,boxSizing:"border-box",appearance:"none",padding:"4px 16px 4px 8px",lineHeight:"18px",cursor:"pointer",border:"none",zIndex:1,textAlign:"left",background:"none",outline:"none",color:t?e.color.inverseText:"inherit"}))),pC={paddingRight:"4px",display:"inline-block",width:"12px",height:"18px",verticalAlign:"unset"},dN=D(BF)(pC),pN=D(qh)(pC),hC=D.span(({padding:e})=>({paddingLeft:e,whiteSpace:"normal",display:"grid",gridTemplateColumns:"repeat(2, min-content) auto"})),gC=D.span({paddingLeft:"4px",whiteSpace:"nowrap",overflowX:"hidden",textOverflow:"ellipsis"});function Gb({title:e,suite:t,"data-testid":o}){const{onSuiteOpen:a,onSuiteToggle:l,sidebarFocusedItem:s,setSidebarFocusedItem:f,isUpdateMode:c}=gi(),d=w.useRef(null),h=w.useRef(null),y=w.useMemo(()=>Array.isArray(s)&&s.length===t.path.length&&s.every(S=>t.path.includes(S)),[t,s]);w.useEffect(()=>{var S,k;return t.indeterminate?(S=d.current)==null?void 0:S.setIndeterminate():(k=d.current)==null?void 0:k.resetIndeterminate()},[t.indeterminate]),w.useEffect(()=>{var S;y&&((S=h.current)==null||S.focus())},[y]);const b=t.path.length==0,v=S=>{l(t.path,S)},x=()=>{b||(a(t.path,!t.opened),f(t.path))},E=()=>{f(t.path)};return L.jsxs(fC,{focused:y,children:[L.jsx(sC,{children:!c&&L.jsx(uC,{ref:d,checked:t.skip?!1:t.checked,disabled:!!t.skip,onValueChange:v})}),L.jsx(dC,{onClick:x,onFocus:E,"data-testid":o,ref:h,children:L.jsxs(hC,{padding:(t.path.length-1)*8,children:[Ye(t)||!!t.path.length&&(t.opened?L.jsx(dN,{}):L.jsx(pN,{})),L.jsx(cC,{status:t.status,skip:t.skip}),L.jsx(gC,{children:e})]})})]})}const hN=D(hC)({gridTemplateColumns:"min-content auto"});function gN({title:e,opened:t,test:o}){var E;const{onSuiteToggle:a,sidebarFocusedItem:l,setSidebarFocusedItem:s,isUpdateMode:f}=gi(),{onOpenTest:c}=w.useContext(mC),d=w.useRef(null),h=(((E=o.results)==null?void 0:E.length)??0)==0,y=w.useMemo(()=>Ar(o),[o]),b=w.useMemo(()=>Array.isArray(l)&&y.length===l.length&&y.every(S=>l.includes(S)),[y,l]),v=w.useCallback(S=>{a(y,S)},[y,a]);w.useEffect(()=>{var S;b&&((S=d.current)==null||S.focus())},[b]);const x=w.useCallback(()=>{c(o),s(Ar(o))},[o,c,s]);return L.jsxs(fC,{disabled:h,active:t,focused:b,children:[L.jsx(sC,{children:!f&&L.jsx(uC,{checked:o.skip?!1:o.checked,disabled:!!o.skip,onValueChange:v})}),L.jsx(dC,{onClick:x,disabled:h,ref:d,children:L.jsxs(hN,{padding:(y.length+1)*8,children:[L.jsx(cC,{inverted:t,status:o.status,skip:o.skip}),L.jsx(gC,{children:e})]})})]})}const mN=$e(D.div(({theme:e})=>({padding:"24px 32px 8px",background:e.background.content,height:"50px",zIndex:5,position:"sticky",bottom:"0"}))),vN=D.div({display:"flex",justifyContent:"space-between"});function yN(){const{onApproveAll:e,onImageApprove:t,onImageNext:o}=gi(),[a,l]=w.useState(!1),s=w.useCallback(c=>{c.code==="AltLeft"&&(c.preventDefault(),l(!0))},[]),f=w.useCallback(c=>{c.code==="AltLeft"&&(c.preventDefault(),l(!1))},[]);return w.useEffect(()=>(document.addEventListener("keydown",s,!1),document.addEventListener("keyup",f,!1),()=>{document.removeEventListener("keydown",s,!1),document.removeEventListener("keyup",f,!1)}),[s,f]),L.jsx(L.Fragment,{children:L.jsx(mN,{children:L.jsxs(vN,{children:[a?L.jsxs(Wo,{variant:"outline",size:"medium",onClick:o,disabled:!t,children:["Next",L.jsx(qh,{})]}):L.jsxs(Wo,{variant:"solid",size:"medium",onClick:t,disabled:!t,children:["Approve",L.jsx(qh,{})]}),L.jsx(Wo,{variant:"outline",size:"medium",onClick:e,children:"Approve all"})]})})})}const mC=w.createContext({onOpenTest:Jt}),bN=$e(D.div(({theme:e})=>({width:"300px",boxShadow:`0 0 5px ${Ha(.8,e.color.defaultText)}`,zIndex:1e3,background:e.background.content}))),wN=D.div({height:"calc(100vh - 245px)",width:300,flex:"none",overflowY:"auto",position:"sticky",top:"0",left:"0"}),xN=D(ii)({'& > [data-state="visible"]':{zIndex:5}}),Yb=$e(D.div(({theme:e,position:t})=>({[t]:"0px",position:"sticky",boxShadow:`0 0 5px 2.5px ${Ha(.8,e.color.defaultText)}`,zIndex:3}))),SN=D.div({marginBottom:"30px",paddingTop:"9px"}),EN=D.div({position:"relative",height:"100%"}),Kb=$e(D.div(({theme:e,position:t})=>({...t==="top"?{position:"absolute"}:{position:"relative",bottom:"8px"},height:"8px",width:"100%",zIndex:4,background:e.background.content})));function kN({rootSuite:e,testId:t,onOpenTest:o,filter:a,setFilter:l}){const{onStart:s,onStop:f}=gi(),c=pg(e,a),d=l3(e),h=hg(c),y=dg(e).length,b=()=>{s(c)};return L.jsx(mC.Provider,{value:{onOpenTest:o},children:L.jsxs(bN,{children:[L.jsx(JF,{testsStatus:d,filter:a,onFilterChange:l,onStart:b,onStop:f,canStart:y!==0}),L.jsxs(wN,{children:[L.jsxs(xN,{vertical:!0,children:[L.jsx(Yb,{position:"top"}),L.jsxs(EN,{children:[L.jsx(Kb,{position:"top"}),L.jsx(SN,{children:L.jsx(Gb,{title:"Select all",suite:e,"data-testid":"selectAll"})}),h.map(({title:v,suite:x})=>Ye(x)?L.jsx(gN,{title:v,opened:x.id==t,test:x},x.id):L.jsx(Gb,{title:v,suite:x,"data-testid":v},x.path.join("/")))]}),L.jsx(Kb,{position:"bottom"})]}),L.jsx(Yb,{position:"bottom"})]}),L.jsx(yN,{})]})})}const sn={actual:"negative",expect:"positive",diff:"secondary"},CN=(e,t)=>t in e.color;function un(e,t){return CN(e,t)?e.color[t]:t}function Fc(){var e;(e=window.__CREEVEY_SET_READY_FOR_CAPTURE__)==null||e.call(window)}const _N=D.div({display:"flex",flexWrap:"nowrap",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"}),ON=D.div(({layout:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"flex-start",flexDirection:e=="horizontal"?"row":"column","& > :not(:first-of-type)":{marginLeft:e=="horizontal"?"20px":0,marginTop:e=="horizontal"?0:"20px"}})),Xb=D.a({lineHeight:0,flexShrink:0}),RN=D.a({lineHeight:0}),Vh=D.img(({borderColor:e})=>({boxSizing:"border-box",border:`1px solid ${e}`,maxWidth:"100%",flexShrink:0})),AN=D(Vh)({flexShrink:1}),PN=$e(({actual:e,diff:t,expect:o,theme:a})=>{const[l,s]=w.useState("horizontal"),[f,c]=w.useState(1),d=w.useRef(null),h=w.useRef(null),y=w.useRef(null),b=w.useRef(null),v=sc(o,t,e),x=w.useCallback(()=>{const E=d.current,S=h.current,k=y.current,_=b.current;if(!E||!S||!_||!k||!v){c(1);return}const A=gg(k);if(l=="vertical"){const R=(k.getBoundingClientRect().width-A*2)/k.naturalWidth;c(Math.min(1,R))}if(l=="horizontal"){const R=(E.getBoundingClientRect().width-40-A*6)/[S,k,_].map(O=>O.naturalWidth).reduce((O,P)=>O+P,0);c(Math.min(1,R))}},[v,l]);return Lx(d,x),w.useLayoutEffect(x,[x]),w.useLayoutEffect(()=>{const E=y.current;if(!E||!v)return;const S=E.naturalWidth/E.naturalHeight;s(S>=2?"vertical":"horizontal")},[v]),go(h,f),go(b,f),w.useEffect(()=>{v&&Fc()},[v]),L.jsx(_N,{ref:d,children:v?L.jsxs(ON,{layout:l,children:[L.jsx(Xb,{href:o,target:"_blank",rel:"noopener noreferrer",children:L.jsx(Vh,{ref:h,borderColor:un(a,sn.expect),alt:"expect",src:o})}),L.jsx(RN,{href:t,target:"_blank",rel:"noopener noreferrer",children:L.jsx(AN,{ref:y,borderColor:un(a,sn.diff),alt:"diff",src:t})}),L.jsx(Xb,{href:e,target:"_blank",rel:"noopener noreferrer",children:L.jsx(Vh,{ref:b,borderColor:un(a,sn.actual),alt:"actual",src:e})})]}):L.jsx(Ic,{size:64})})}),TN=D.div({position:"relative",display:"flex"}),vC=D.img(({borderColor:e})=>({boxSizing:"border-box",border:`1px solid ${e}`,maxWidth:"100%"})),Qb=D(vC)({position:"absolute"}),IN=D(vC)({cursor:"pointer",outline:"none",opacity:0,zIndex:1}),FN=$e(({theme:e,expect:t,actual:o,diff:a})=>{const[l,s]=w.useState("actual"),f=w.useRef(null),c=w.useRef(null),d=w.useRef(null),h=sc(t,a,o),y=mg(c,h);go(f,y,l),go(d,y,l);const b=w.useCallback(()=>{s(x=>x=="actual"?"expect":"actual")},[]),v=w.useCallback(x=>{x.code==="Space"&&x.altKey&&(x.preventDefault(),b())},[b]);return w.useEffect(()=>(document.addEventListener("keydown",v,!1),()=>{document.removeEventListener("keydown",v,!1)}),[v]),w.useEffect(()=>{h&&Fc()},[h]),h?L.jsxs(TN,{children:[L.jsx(Qb,{ref:f,borderColor:un(e,sn.expect),alt:"expect",src:t,hidden:l!="expect"}),L.jsx(IN,{ref:c,borderColor:"transparent",tabIndex:0,alt:"diff",src:a,onClick:b}),L.jsx(Qb,{ref:d,borderColor:un(e,sn.actual),alt:"actual",src:o,hidden:l!="actual"})]}):L.jsx(Ic,{size:64})}),NN=D.div({position:"relative",display:"flex"}),LN=D.input({position:"absolute",cursor:"ew-resize",appearance:"none",background:"none",boxShadow:"none",outline:"none",height:"100%",width:"100%",margin:"0",zIndex:1,"&::-webkit-slider-runnable-track":{height:"100%"},"&::-webkit-slider-thumb":{boxShadow:"0 0 0 0.5px #888",height:"100%",width:"0px",appearance:"none"},"&::-moz-focus-outer":{border:"0"},"&::-moz-range-track":{height:"0"},"&::-moz-range-thumb":{border:"none",boxShadow:"0 0 0 0.5px #888",height:"100%",width:"0px"}}),Zb=D.div({position:"absolute",width:"100%",height:"100%",overflow:"hidden"}),Jb=$e(D.div(({theme:e})=>({background:e.base=="light"?e.color.mediumlight:e.color.darker,position:"relative",width:"100%",height:"100%",display:"flex"}))),yC=D.img(({borderColor:e})=>({boxSizing:"border-box",border:`1px solid ${e}`,maxWidth:"100%"})),ew=D(yC)({position:"absolute"}),jN=D(yC)({opacity:"0"}),$N=$e(({actual:e,diff:t,expect:o,theme:a})=>{const[l,s]=w.useState(0),f=w.useRef(null),c=w.useRef(null),d=w.useRef(null),h=w.useRef(null),y=w.useRef(null),b=sc(o,t,e),v=mg(h,b);go(d,v),go(y,v);const x=w.useCallback(E=>{if(!f.current||!c.current)return;const S=Number(E.target.value);f.current.style.right=`${100-S}%`,c.current.style.left=`${100-S}%`},[]);return w.useLayoutEffect(()=>{b&&h.current&&s(100/h.current.getBoundingClientRect().width)},[b,v]),w.useLayoutEffect(()=>{b&&f.current&&c.current&&(f.current.style.right="100%",c.current.style.left="100%")},[b]),w.useEffect(()=>{b&&Fc()},[b]),b?L.jsxs(NN,{children:[L.jsx(LN,{"data-testid":"slider",type:"range",min:0,max:100,defaultValue:0,step:l,onChange:x}),L.jsx(Zb,{children:L.jsx(Jb,{children:L.jsx(ew,{ref:y,borderColor:un(a,sn.actual),alt:"actual",src:e})})}),L.jsx(Zb,{ref:f,children:L.jsx(Jb,{ref:c,children:L.jsx(ew,{ref:d,borderColor:un(a,sn.expect),alt:"expect",src:o})})}),L.jsx(jN,{ref:h,borderColor:"transparent",alt:"diff",src:t})]}):L.jsx(Ic,{size:64})}),MN=D.div({position:"relative",display:"flex",filter:"invert(100%)"}),tw=D.div({position:"absolute",width:"100%",height:"100%",display:"flex"}),ym=D.img(({borderColor:e})=>({boxSizing:"border-box",border:`1px solid ${e}`,maxWidth:"100%",filter:"invert(100%)"})),DN=D(ym)({mixBlendMode:"difference"}),zN=D(ym)({opacity:"0"}),BN=$e(({actual:e,diff:t,expect:o,theme:a})=>{const l=w.useRef(null),s=w.useRef(null),f=w.useRef(null),c=sc(o,t,e),d=mg(s,c);return go(l,d,c),go(f,d,c),w.useEffect(()=>{c&&Fc()},[c]),L.jsxs(MN,{children:[L.jsx(tw,{children:L.jsx(ym,{ref:l,borderColor:un(a,sn.expect),alt:"expect",src:o})}),L.jsx(zN,{ref:s,borderColor:"transparent",alt:"diff",src:t}),L.jsx(tw,{children:L.jsx(DN,{ref:f,borderColor:un(a,sn.actual),alt:"actual",src:e})})]})}),HN={"side-by-side":PN,swap:FN,slide:$N,blend:BN},UN=D.div({height:"100%",display:"flex",textAlign:"center",alignItems:"center",justifyContent:"center",padding:"0 20px"}),WN=D.a({lineHeight:0}),qN=$e(D.img(({theme:e})=>({border:`1px solid ${un(e,sn.expect)}`,maxWidth:"100%"})));function fl(e,t){return t?`${t}/${e}`:e}function VN({url:e,image:t,canApprove:o,mode:a}){const l=HN[a],{actual:s,diff:f,expect:c}=t;return L.jsx(UN,{children:o&&f&&c?L.jsx(l,{actual:fl(s,e),diff:fl(f,e),expect:fl(c,e)}):L.jsx(WN,{href:fl(s,e),target:"_blank",rel:"noopener noreferrer",children:L.jsx(qN,{alt:"actual",src:fl(s,e)})})})}const vl=64,no=(2*(vl-8)**2)**(1/2),GN=D.button(({borderColor:e})=>({appearance:"none",background:"none",color:"inherit",font:"inherit",cursor:"pointer",outline:"none",zIndex:1,margin:"0 10px",border:"2px solid transparent",borderColor:e??"transparent","&:first-of-type":{marginLeft:0}})),YN=$e(D.img(({hasBorder:e,backgroundColor:t,theme:o})=>({maxHeight:`${vl}px`,width:`${vl}px`,overflow:"hidden",transform:e?"translateY(2px)":void 0,"&::before":{content:"' '",display:"block",height:`${vl-8}px`,width:`${vl-8}px`,margin:"4px",backgroundColor:t,backgroundImage:`linear-gradient(
|
499
|
+
45deg,
|
500
|
+
rgba(0, 0, 0, 0) ${no/2-.5}px,
|
501
|
+
${o.color.medium} ${no/2-.5}px,
|
502
|
+
${o.color.medium} ${no/2+.5}px,
|
503
|
+
rgba(0, 0, 0, 0) ${no/2+.5}px
|
504
|
+
),
|
505
|
+
linear-gradient(
|
506
|
+
315deg,
|
507
|
+
rgba(0, 0, 0, 0) ${no/2+.2}px,
|
508
|
+
${o.color.medium} ${no/2+.2}px,
|
509
|
+
${o.color.medium} ${no/2+1.2}px,
|
510
|
+
rgba(0, 0, 0, 0) ${no/2+1.2}px
|
511
|
+
)`}}))),KN=$e(({isActive:e,onClick:t,imageName:o,url:a,theme:l,error:s})=>{const f=()=>{t(o)};return L.jsx(GN,{onClick:f,borderColor:e?l.barSelectedColor:s?l.color.negative:void 0,children:L.jsx(YN,{hasBorder:e||s,src:a,alt:o,backgroundColor:l.background.content})})}),bC="Creevey_view_mode",fo=["side-by-side","swap","slide","blend"],XN=()=>{const e=localStorage.getItem(bC);return e&&fo.includes(e)?e:"side-by-side"},QN=D.div({marginTop:"24px"}),ZN=$e(D.div(({theme:e})=>({marginTop:"8px",padding:"8px",background:`${e.background.negative}20`,color:e.color.negative,borderRadius:"2px",display:"flex",alignItems:"baseline","& svg":{margin:"0 5px",width:8,height:8},"& pre":{margin:"0 4px",padding:0,lineHeight:"22px"}}))),JN=$e(D.div(({theme:e})=>({padding:"8px 32px",backgroundColor:`${e.color.positive}20`,color:e.color.positive,fontSize:"12px",textAlign:"center",fontWeight:"bold"}))),eL=D.h1({marginLeft:"44px",marginBottom:"8px"}),tL=$e(D.span(({theme:e})=>({padding:"0 8px",color:e.color.mediumdark}))),rL=D.div({display:"flex",margin:"16px 0 8px"});function nL({title:e,imageName:t,images:o={},errorMessage:a,showViewModes:l,viewMode:s,imagesWithError:f=[],onImageChange:c,onViewModeChange:d}){var E;const{isReport:h,isUpdateMode:y}=w.useContext($l),b=Object.entries(o),v=S=>{d(S)};w.useEffect(()=>{if(t===""){if(f.length>0){c(f[0]);return}const S=Object.keys(o).at(0);S&&c(S)}},[t,o,f,c]);const x=a||f.includes(t)?((E=o[t])==null?void 0:E.error)??a:null;return L.jsxs(QN,{children:[L.jsx(eL,{children:e.flatMap(S=>[S,L.jsx(tL,{children:"/"},S)]).slice(0,-1)}),x&&L.jsxs(ZN,{children:[L.jsx(oC,{}),L.jsx("pre",{children:x})]}),b.length>1?L.jsx(rL,{children:b.map(([S,k])=>L.jsx(KN,{imageName:S,url:`${Nx(e,S,h)}/${k.actual}`,isActive:S===t,onClick:c,error:f.includes(S)},S))}):null,y&&L.jsx(JN,{children:"Update Mode: Review and approve screenshots from previous test runs"}),l&&L.jsx(mm,{selected:s,actions:{onSelect:v},children:fo.map(S=>L.jsx("div",{id:S,title:S},S))})]})}function oL(e){const t=(a,l)=>{switch(a){case".":return L.jsx(fi,{disabled:!0,autoFocus:!1,content:"",nonce:"",rel:"",rev:"",children:"..."},`dots${l<5?"Left":"Right"}`);default:return L.jsx(fi,{rel:a,rev:a,autoFocus:!1,nonce:a,content:a,onClick:()=>{o(a)},active:e.activePage===a,children:a},a)}},o=a=>{const l=Number(a);1<=l&&a!==e.activePage&&l<=e.pagesCount&&e.onPageChange(l)};return L.jsx("div",{children:aL(e.activePage,e.pagesCount).map(t)})}function aL(e,t){const o=Number(e),a=[],l=Math.max(Math.min(o-2,t-4),1),s=Math.min(Math.max(5,o+2),t),f=l>3,c=f?l:1,d=s<t-2,h=d?s:t;f&&a.push("1",".");for(let y=c;y<=h;++y)a.push(`${y}`);return d&&a.push("."),d&&isFinite(t)&&a.push(`${t}`),a}const iL=$e(D.div(({theme:e})=>({display:"flex",padding:"24px 32px 20px",justifyContent:"space-between",background:e.background.content})));function lL({retriesCount:e,retry:t,onRetryChange:o}){return L.jsx(iL,{children:L.jsx(oL,{activePage:`${t}`,onPageChange:o,pagesCount:e})})}const sL=D.div({width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}),uL=D.div(({theme:e})=>({background:e.base=="light"?e.color.mediumlight:e.color.darker,flexGrow:1,padding:"20px 0"})),cL=D.div({position:"sticky",top:0,zIndex:1}),fL=D.div({flexGrow:1,minHeight:0}),dL=D.div({position:"sticky",bottom:0,zIndex:1}),pL=D.div(({height:e="100vh"})=>({height:e,width:"100%",overflowY:"hidden",display:"flex",flexDirection:"column"}));function hL({path:e,results:t=[],approved:o,theme:a,height:l,retry:s,imageName:f,onImageChange:c,onRetryChange:d}){var R;const h=t[s-1]??{},{isReport:y}=w.useContext($l),[b,v]=w.useState(XN()),x=Nx(e,f,y),E=(R=h.images)==null?void 0:R[f],S=!!(E&&(o==null?void 0:o[f])!=s-1&&h.status!="success"),k=S&&!!(E!=null&&E.diff&&E.expect),_=h.images?Object.keys(h.images).filter(O=>{var P,I;return h.status!="success"&&(o==null?void 0:o[O])!=s-1&&((I=(P=h.images)==null?void 0:P[O])==null?void 0:I.error)!=null}):[],A=w.useCallback(O=>{S&&O.code==="Tab"&&(O.preventDefault(),O.shiftKey?v(P=>fo.at((fo.indexOf(P)-1)%fo.length)):v(P=>fo.at((fo.indexOf(P)+1)%fo.length)))},[S]);return w.useEffect(()=>{localStorage.setItem(bC,b)},[b]),w.useEffect(()=>(document.addEventListener("keydown",A,!1),()=>{document.removeEventListener("keydown",A,!1)}),[A]),L.jsxs(pL,{height:l,children:[L.jsx(cL,{children:L.jsx(nL,{title:e,imageName:f,images:h.images,errorMessage:h.error,showViewModes:k,viewMode:b,onViewModeChange:v,onImageChange:c,imagesWithError:_})}),L.jsx(fL,{children:L.jsx(ii,{vertical:!0,children:L.jsx(sL,{children:L.jsx(uL,{theme:a,children:E?L.jsx(VN,{url:x,image:E,canApprove:S,mode:b}):L.jsx(EI,{children:`Image ${f} not found`})})})})}),t.length?L.jsx(dL,{children:L.jsx(lL,{retry:s,retriesCount:t.length,onRetryChange:d})}):null]})}const gL=$e(hL),mL=$e(D.span(({theme:e})=>({lineHeight:"10px",display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.base=="light"?e.color.mediumlight:e.color.darker,borderRadius:"3em",padding:2,verticalAlign:"middle",marginLeft:10,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",cursor:"pointer","&:focus":{outline:"none"}},span:{cursor:"pointer",display:"inline-block",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"100%",background:e.background.bar,boxShadow:`${wp(.1,e.appBorderColor)} 0 0 2px`,color:e.color.defaultText,width:20,height:20,boxSizing:"border-box",lineHeight:"19px",textAlign:"center","&:hover":{boxShadow:`${wp(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${wp(.05,e.appBorderColor)} 0 0 0 2px inset`}},"input:checked ~ span":{marginLeft:20},"input:not(:checked) ~ span":{marginRight:20}}))),vL=({value:e,onChange:t})=>L.jsxs(mL,{children:[L.jsx("input",{type:"checkbox",onChange:()=>{t(!e)},checked:e??!1}),L.jsx("span",{children:e?"☪":"☀"})]}),wC="Creevey_theme";function yL(e){return xt(e)&&Object.prototype.hasOwnProperty.call(ac,e)}function bL(){const e=localStorage.getItem(wC);return yL(e)?e:"light"}function xC(){const[e,t]=w.useState(bL());return w.useEffect(()=>{localStorage.setItem(wC,e)},[e]),[e,t]}const wL=$e(D.div(({theme:e})=>({height:"100vh",display:"flex",background:e.background.content,color:e.color.defaultText}))),xL=D.div({zIndex:1,position:"absolute",right:10,top:10});function SL({api:e,initialState:t}){var he,de;const[o,a]=NO(t.tests),[l,s]=w.useState(t.isRunning),[f,c]=w.useState([]),[d,h]=w.useState({status:null,subStrings:[]}),[y,b]=xC(),v=o3(o,f),x=w.useMemo(()=>Px(o),[o]),[E,S]=w.useState(((he=v==null?void 0:v.results)==null?void 0:he.length)??0),k=w.useMemo(()=>{var U;return(U=v==null?void 0:v.results)==null?void 0:U[E-1]},[v,E]),[_,A]=w.useState(Object.keys((k==null?void 0:k.images)??{})[0]??""),[R,O]=w.useState([]),P=w.useMemo(()=>{var U,J,Q;return!!((J=(U=v==null?void 0:v.results)==null?void 0:U[E-1])!=null&&J.images&&((Q=v.approved)==null?void 0:Q[_])!=E-1&&v.results[E-1].status!="success")},[_,v,E]);f.length>0&&!xt(v)&&c([]);const I=w.useCallback((U,J)=>{a(Q=>{tu(Q,U,J)})},[a]),T=w.useCallback((U,J)=>{a(Q=>{a3(Q,U,J)})},[a]),N=w.useCallback(U=>{const J=Ar(U);s3(J),O(J),a(Q=>{tu(Q,J,!0),c(J)})},[a]),B=w.useCallback(()=>{if(x.length==0)return;const U=x.findIndex(Q=>Q.id===(v==null?void 0:v.id)),J=Object.entries((k==null?void 0:k.images)??{}).filter(([Q,j])=>{var Z;return(j==null?void 0:j.error)!=null&&((Z=v==null?void 0:v.approved)==null?void 0:Z[Q])!=E-1&&(k==null?void 0:k.status)!="success"}).map(([Q])=>Q);if(J.length>1&&(x.length==1||J.indexOf(_)<J.length-1))A(Q=>J[J.indexOf(Q)+1]??J[0]);else{const Q=x[U+1]??x[0];N(Q)}},[x,N,v,E,k,_]),M=w.useCallback(()=>{const U=v==null?void 0:v.id;U&&(e==null||e.approve(U,E-1,_))},[e,_,v==null?void 0:v.id,E]),G=w.useCallback(()=>{M(),B()},[M,B]),ee=w.useCallback(()=>{e==null||e.approveAll()},[e]),se=w.useCallback(U=>e==null?void 0:e.start(dg(U).map(J=>J.id)),[e]),be=w.useCallback(()=>e==null?void 0:e.stop(),[e]),ie=w.useCallback(U=>{b(U?"dark":"light")},[b]);return w.useEffect(()=>{var Q,j;const U=((Q=v==null?void 0:v.results)==null?void 0:Q.length)??0,J=((j=v==null?void 0:v.results)==null?void 0:j[U-1])??{images:{}};A(Object.keys(J.images??{})[0]??""),S(U)},[v==null?void 0:v.results]),w.useEffect(()=>{window.addEventListener("popstate",U=>{a(J=>{const Q=U.state;if(Q&&typeof Q=="object"&&"testPath"in Q){const{testPath:j}=Q;Array.isArray(j)&&(tu(J,j,!0),c(j))}})}),a(U=>{const J=u3();tu(U,J,!0),c(J)})},[a]),w.useEffect(()=>e==null?void 0:e.onUpdate(({isRunning:U,tests:J,removedTests:Q=[]})=>{xt(U)&&s(U),xt(J)&&a(j=>{Object.values(J).forEach(Z=>{Z&&Tx(j,Ar(Z),Z)}),Q.forEach(Z=>{Ix(j,Ar(Z))})})}),[e,a]),L.jsx($l.Provider,{value:{isReport:t.isReport,isRunning:l,onImageNext:P?B:void 0,onImageApprove:P?G:void 0,onApproveAll:ee,onStart:se,onStop:be,onSuiteOpen:I,onSuiteToggle:T,sidebarFocusedItem:R,setSidebarFocusedItem:O,isUpdateMode:t.isUpdateMode},children:L.jsx(Dw,{theme:yx(ac[y]),children:L.jsx(c3,{rootSuite:o,filter:d,children:L.jsxs(wL,{children:[L.jsx(kN,{rootSuite:o,testId:v==null?void 0:v.id,onOpenTest:N,filter:d,setFilter:h}),v&&L.jsx(gL,{path:f,results:v.results,approved:v.approved,retry:E,imageName:_,onImageChange:A,onRetryChange:S},`${v.id}_${((de=v.results)==null?void 0:de.length)??0}`),L.jsx(xL,{children:L.jsx(vL,{value:y=="dark",onChange:ie})})]})})})})}async function EL(){let e=Jt,t=Jt;const o=new Set;let a=null,l=Jt,s=!1;const f=new WebSocket(`ws://${Fx()}`);function c(d){f.send(JSON.stringify(d))}return f.addEventListener("error",d=>{t(d)}),f.addEventListener("open",()=>{e({start(d){if(s){console.warn("Tests cannot be started in Update Mode. This mode is for approving screenshots only.");return}c({type:"start",payload:d})},stop(){if(s){console.warn("Tests cannot be stopped in Update Mode. This mode is for approving screenshots only.");return}c({type:"stop"})},approve(d,h,y){c({type:"approve",payload:{id:d,retry:h,image:y}})},approveAll(){c({type:"approveAll"})},onUpdate(d){return o.add(d),()=>o.delete(d)},get status(){return a||(c({type:"status"}),a=new Promise(d=>l=d))}})}),f.addEventListener("message",d=>{const h=JSON.parse(d.data);h.type=="update"&&o.forEach(y=>{y(h.payload)}),h.type=="status"&&(s=h.payload.isUpdateMode,l(h.payload),l=Jt,a=null)}),new Promise((d,h)=>{e=d,t=h})}const kL=$e(D.div(({theme:e})=>({height:"100vh",width:"100vw",background:e.background.app}))),CL=$e(D.div(({size:e=32,theme:t})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:t.base==="light"?"rgba(97, 97, 97, 0.29)":"rgba(255, 255, 255, 0.2)",borderTopColor:t.base==="light"?"rgb(100,100,100)":"rgba(255, 255, 255, 0.4)",animation:`${_L} 0.7s linear infinite`,mixBlendMode:"difference"}))),_L=Tr`
|
512
|
+
from {
|
513
|
+
transform: rotate(0deg);
|
514
|
+
}
|
515
|
+
to {
|
516
|
+
transform: rotate(360deg);
|
517
|
+
}
|
518
|
+
`;function OL(){const[e]=xC();return L.jsx(Dw,{theme:yx(ac[e]),children:L.jsx(kL,{children:L.jsx(CL,{size:64})})})}window.__CREEVEY_SET_READY_FOR_CAPTURE__=Jt;function rw(){return new Promise(e=>{const t=document.createElement("script");t.src="data.js",t.onload=()=>{e(__CREEVEY_DATA__)},document.body.appendChild(t)})}const RL=w.lazy(async()=>{let e=!1,t,o;if(window.location.host)try{o=await EL(),t=await o.status}catch{e=!0,t={isRunning:!1,tests:await rw(),browsers:[],isUpdateMode:!1}}else e=!0,t={isRunning:!1,tests:await rw(),browsers:[],isUpdateMode:!1};return{default(){return L.jsx(SL,{api:o,initialState:{isReport:e,isRunning:t.isRunning,tests:i3(t.tests),isUpdateMode:t.isUpdateMode}})}}}),AL=SO.createRoot(document.getElementById("root"));AL.render(L.jsx(w.Suspense,{fallback:L.jsx(OL,{}),children:L.jsx(RL,{})}));
|